The field is required.
The following CSS classes are set automatically, depending on the validity of the form: ng-valid when form is valid ng-invalid when form is invalid ng-pristine when form is pristine ng-dirty when form is dirty To specify which method to call when submitting form, use one of the following two directives: ng-submit on the form element ng-click on the first button or input field of type submit (input[type=submit])