AngularJS provides great support for implemeting validations in Forms.
Validation is performed by States properties and Validators directives.
There are four States in AngularJS Forms.
$invalid : This state describes that form is in invalid state.
$valid : This state describes that form is in valid state.
$dirty :This state describes that form is in dirty state ...