I am using Angular for form validation.
Here is what I use - plunker-edit I have taken this code from Angularjs documentation - Binding to form and control state Hav
Refer to my another answer: AngularJS v1.3.x Email Validation Issue
Try to use ng-pattern in your email input.
It fits your valid and invalid cases.
See an example: plunk