The default validation for the form I have works as expected. But when a user types in a valid email address and a password of three characters minimum, that doesn\'t mean the l
Tosh shimayama gave the right answer. $setValidity is a method from the NgModelController
and takes two parameters: validationErrorKey
and isValid
.
More information on $setValidity
Change the validity state, and notifies the form when the control changes validity. (i.e. it does not notify form if given validator is already marked as invalid).
Source and further information AngularJS: NgModelController