Angular sets these CSS classes. It is up to your application to provide useful styling.
ng-invalid, ng-valid
input directive).ng-pristine, ng-dirty
input directive applies ng-pristine class
to a new input widget element which did not have user interaction. Once the user interacts with
the input widget the class is changed to ng-dirty.