/angular-model-validator

A simple directive to allow models to be validated on submission rather than relying on form validation.

Primary LanguageJavaScript

angular-model-validator

A simple directive to allow models to be validated on submission rather than relying on form validation.

You can find more information, including the rationale for creating this directive, on my blog: https://northerncodemonkey.wordpress.com

Installation

Install via bower:

bower install angular-model-validator

... or via git:

git clone https://github.com/MichaelYoung1981/angular-model-validator.git

Usage

Take a look at the demo folder to see a very basic example in action.