My Angular app has a login form with an email/username input field:
<input type="email" required/>
Input is type="email" so the correct keyboard is displayed in iOS.
However validation should be that of a type="text" input to allow for a username.
Basically I need override Angular to validate type="email" as type="text"
Here is a basic Plunker to get started.
Note: I've tried using ng-pattern to validate on regex but it only seems to work for type="text"