Angular - Template-Driven Forms
Given this Angular template snippet:
What happens when the user types 'user@example' and tries to submit?
<form #myForm="ngForm">
<input name="email" ngModel required pattern="^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$">
<button [disabled]="myForm.invalid">Submit</button>
</form>What happens when the user types 'user@example' and tries to submit?
