title: HTML date input initial value
body: <p>Trying to incorporate a date picker into my angular app.  My issue is that when it initially loads the input field displays '01/01/2018' regardless of what value the model holds.  After I select a date, both the input display and the model are updated correctly.  How do I go about initializing the datepicker/input?</p>
  
  <pre><code>&lt;input type="date" name="Date" class="form-control" id="Date" [ngModel]="stat.dpndcyDt | date:'yyyy-MM-dd'" (ngModelChange)="stat.dpndcyDt=$event" [value]="stat.dpndcyDt | date:'yyyy-MM-dd'" /&gt;
  </code></pre>
  
  <p>dpndcyDt is a Date object.  I presume this has to do with going from string>Date and vice versa but I'm not sure what the fix is.</p>
  
  <p>*edit added image
  <a href="https://i.stack.imgur.com/N5TXR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N5TXR.png" alt="date picker not showing correct date on load"></a></p>