Validation Directive: ng-minlength, ng-maxlength

Enter Password:

Password
Password must be minimum 5 and maximum 10 characters