1.

CSS Classes

Answer» CSS CLASSES
We can also apply some validation on CSS class here we will LEARN validation name "required" through that we will apply some validation on input control.


AngularJS CSS Validation
The ng-model directive adds orremoves the following classes, according to the status of the form field:
(i) ng-empty
(ii) ng-not-empty
(iii)ng-touched
(iv) ng-untouched
(v) ng-valid
(vi) ng-invalid
(vii)ng-dirty
(VIII)ng-pending
(IX) ng-pristine


Discussion

No Comment Found