UI Deploy

Curated, Short, Web UI Dev we Love.

How to create a custom input validator with AngularJS

The following is a quick & dirty intro to how to create a custom $parser and add it to the ngModelController, which in more human translation could mean for example, adding a custom validator to the ng-model of the input.

view source

Advertisement