angular-mn-form

npm install --save angular-mn-form

And bundle dependencies and main files in dist/ with your preferred tool.

usage

// add dependency in you module angular.module('app', [ 'mn-form' ])

And then, in your html, you can use the tag

Note, the submit directive, will check validity of form, and only if is valid, they call your method (controller.save in example). Is similar to 'submit='form.$valid && controller.save'', but you dont need write "form.$valid", this is implicit in submit directive.

For more details check mn-form docs.