angularjs $getValidity of email field

Handsontable JavaScript Spreadsheet Most popular component for web apps

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 Deering

Sam Deering

Sam is a web developer, online entrepreneur and investor. In his spare time he enjoys coding, playing chess and sharing what he learns with others.

Leave a Reply

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