AngularJS ng minlength Directive
AngularJS ng-minlength Directive
The ng-minlength directive is used to add a restriction to an input field and form validator. It will add an invalid state of the input field if the length of the value is less than specified.
< input type="text" ng-minlength="number" >< /input >
|number||A number representing the minimum number of characters legal for the input field.|