AngularJS Form Validation
AngularJS provides client-side form validation. It checks the state of the form and input fields (input, textarea, select), and lets you notify the user about the current state.
It also holds the information about whether the input fields have been touched, or modified, or not.
Following directives are generally used to track errors in an AngularJS form:
AngularJS Form Validation Example