Sets the form to its untouched state. This method can be called to remove the 'ng-touched' class and set the form controls to their untouched state ng-untouched class. Setting a form controls back to their untouched state is often useful when setting the form back to its pristine state. using angularjs form validation we can validate a form at the client side. angular gives you the functionality to validate the controls of the form according to requirement.
AngularJS form Directive. This form's "valid state" will not be consider "true", as long as the required input field is empty: