Data-Models based validation infrastructure for angular js apps
1 person uses it
Author: 2870816?v=2 nadavsinai

Instead of re-writing the same validation directives and user messages (with their relevant display logic) use this and add the validation rules for each model property in the model prototype (or anywhere else you find logical to you) and a single directive on each input which will

  • parse validation rules
  • add relevant directives (support for angular own and custom validation rules)
  • add user message element directly after the input element with the defined message passed through translation
  • add a ngModel parsers/formatters based watcher that will trigger the display of the relevant message upon input change.

available on bower :

bower install nd-validate

see the homepage for further details and demo

comments powered by Disqus
This page was last updated about 4 years ago.