I am using AngularJS's form validation and have the following e-mail input
<input type="email" />
This uses the AngularJS email regex validation but it still allows invalid emails
Example the following e-mail should be invalid but is passing as valid: test@test
I need to create a regex (ng-pattern) that forces a domain. eg name@domian.com
I also want the regex to allow custom domains like name@custom.name