title: In Angular 2, ngIF is not working when i am trying with two way binding
body: <p>I am working with <code>Angular2</code> with two way binding concept <code>[(ngModel)]</code>.I have form with my page and I have to validate the pristine state of the element. So for validation I have used <code>ngIf</code> to check the pristine state of the element. But the condition is not working. I need to check the pristine state for every model change. Below is my <code>app.component.html</code> page:</p>
  
  <pre><code> &lt;form (ngSubmit)="angular2form(myAngular2Form.employeeDob)" [ngFormModel]="myAngular2Form"&gt;
  
   &lt;input type="text" class="form-control" id="employee" name="employee" [(ngModel)]="employeeDob" required  /&gt;            
    &lt;div *ngIf="employeeDob.pristine"&gt;
      &lt;p&gt;Please enter the date&lt;/p&gt;
   &lt;/div&gt;
   &lt;button type="submit" class="btn btn-primary"&gt;Register&lt;/button&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>This is my component:</p>
  
  <pre><code> export class AppComponent {
  
  employeeDob: String;
  
    constructor(private myform: FormBuilder) {
      this.employeeDob = '';
   }
   angular2form(date) {
       alert("date submitted successfully");
   }
   }
  </code></pre>
  
  <p>Thanks for any suggestion</p>