title: NgModel on Input type file
body: <p>I'm trying to make a binding to an input field type file through ngModel on the typical Angular way like this:</p>
  
  <pre><code>&lt;input type="file" id="fileUpload" [(ngModel)]="file"&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>files:any
  </code></pre>
  
  <p>My problem is that after I have chosen a file, the value of my variable <code>files</code> is still <code>undefined</code>
  Here an example with stackblitz: <a href="https://stackblitz.com/edit/angular-6mbdww" rel="noreferrer">https://stackblitz.com/edit/angular-6mbdww</a></p>