Angularjs Examples

AJS Examples


AngularJS ng-pattern Directive

The AngularJS ng-pattern directive is used validate input control against specified pattern. The ng-pattern adds the pattern validator to ng-model.

Syntax

AngularJS ng-pattern Directive Example

See Live Example