ng-validate

Angular validation library
0 people use it
Author: 609373?v=3 rumkin

Angular module for dynamic asynchronous validation inspired with Waterline ORM models.

Installation

Install via git:

Usage

To use validation you should to add 'ngValdiate' module and than to inject $validate service. Example:

Create custom validator

To create custom validator you should create a factory with question mark in end of name. For example: required? or string?. Validators could return angular promised object produced with $q function call.

Validator could be an object either and could contain filter method to softly update values:

comments powered by Disqus
This page was last updated over 2 years ago.