AngularJS Input Email Validation
AngularJS provides inbuilt email validation which uses regex which is derived from regex used in Chromium. When you enter text in input box it test for valid email and throws exception if not valid. Email validation done by this is for default standard email and if you want to change built-in validation you could use ng-pattern or modify its validators. In this example we will create one input field of type email and will use standard default email validation provided by Angular.
- Test this code in Plunker here