Why does setting ng-model to undefined not make the form/input valid again?
Whenever you use ng-model on an input or select tag, angular internally manages two values for the field, one is $viewValue and other is $modelValue $viewValue -> Used for display purpose on view $modelValue-> Actual value which is used inside scope. When using an input tag with type=”email” Angular constantly validates the input value. And … Read more