johannesjo / ng-fab-form

Convenient forms for Angular with no extra markup? Fabulous!
https://johannesjo.github.io/ng-fab-form
MIT License
172 stars 25 forks source link

Only use directive on some forms not others. #71

Closed JonCognioDigital closed 9 years ago

JonCognioDigital commented 9 years ago

Hi,

I've noticed that once you inject ngFabForm into your module every form becomes an ng-fab-form.

Is it possible to make it so that the directive only applies when you explicitly add it. E.g. ......

<form name="contactForm" ng-fab-form></form>

..... would be a fab form, but this wouldn't.....

<form name="contactForm"></form>

Is this possible?

johannesjo commented 9 years ago

Hello Jon,

thank you very much for your suggestion. I'm already working on it. It's a little tricky, but I'm sure there will be a way to enable this feature.

johannesjo commented 9 years ago

I'll added the feature to the latest release. Could you check, if it works out for you?