email validation in angular 10 using NgModel code example
Example: why do we use #Email in angular with ngmodel
<input type="text" placeholder="Enter Email" id="email"
[(ngModel)] = "email" name = "email" required #em="ngModel"/>
<input type="text" placeholder="Enter Email" id="email"
[(ngModel)] = "email" name = "email" required #em="ngModel"/>