I've generated a form with some default data, when the user clicks on Submit ngValidate should trigger the correspondent css class if data is valid or invalid.
In the following example, the email model as some data that is invalid:
http://plnkr.co/edit/zb74FvMIpHEesOtyzBEz?p=preview
I'd like to know how to make ng-validate trigger the error class (style red background) when the user clicks submit ?
Thanks for looking!