title: Formatting date time in ngModel in form with Angular date pipe
body: <p>I have this below where <code>birthDate</code> is "1938-08-08T00:00:00" and I want it to be "dd/MM/yyyy", but I can't seem to figure out how to use the Angular date pipe in <code>ngModel</code>.</p>
  
  <pre><code>&lt;input type="text" class="form-control" placeholder="ex. MM/DD/YYYY" [(ngModel)]=matterData.birthDate name="birthDate"&gt;
  </code></pre>
  
  <p>I tried this with no luck:</p>
  
  <pre><code>[(ngModel)]={{matterData.birthDate | date: 'dd/MM/yyyy'}}
  </code></pre>
  
  <p>The only way I can get it to work is if I format the date in the .ts code first with Angular 'formatDate()'</p>