title: Fire validation when focus out from input in angular?
body: <p>Email validation is being fired as we keep typing in textbox. I want this validation to be fired when user focuses out of the textbox</p>
  
  <p>Below is my code:</p>
  
  <pre><code>&lt;input class="form-control" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"
   name="Email" type="email" [(ngModel)]="model.Email" #Email="ngModel" required&gt;
  
  &lt;div class="red" *ngIf="Email.errors &amp;&amp; (Email.dirty || Email.touched)"&gt;
       &lt;div [hidden]="!Email.errors.pattern"&gt;
           Please enter a valid email.
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Please suggest me how can I achieve this.
  Thanks in advance.</p>