Validation Styles
- Angular will automatically attach styles to a form element depending on its state
- For instance, if it is in a valid state then
ng-validis attached - If the element is in an invalid state, then
ng-invalidis attached - There are additional styles such as
ng-pristineandng-untouched