I\'m using this method: http://plnkr.co/edit/A6gvyoXbBd2kfToPmiiA?p=preview to only validate fields on blur. This works fine, but I would also like to validate them (and thu
You can use Angular-Validator to do what you want. It's stupid simple to use.
It will:
$dirty
or on submit
$dirty
or the form is submittedSee the demo
Example
If the field does not pass the validator
then the user will not be able to submit the form.
Check out angular-validator use cases and examples for more information.
Disclaimer: I am the author of Angular-Validator