angularjs $getValidity of email field

There is a $setValidity which you can use on controllers to set the validation variables. But why is there not a $getValidity?

Watching this doesn’t work as suggested.

So this would watch the email and when it’s valid format say true.


It starts at false, then the required validator kicks in and sets it to true (the field has both required, and email format).

Some info here:


Sam is a passionate web developer from England. In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *