title: Angular 2 upload multiple files
body: <p>I trying to upload multiple files (PDFs or various image formats). Right now uploading a single file works, but multiple does not. </p>
  
  <p>This is the code:</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div&gt;
      &lt;label&gt; Upload PDF(s) or Images (PNG/JPG/DICOM/DCM):&lt;/label&gt;
      &lt;div class="ctrl"&gt;
          &lt;div class="icon"&gt;
              &lt;i class="fa fa-file-image-o"&gt;&lt;/i&gt;
          &lt;/div&gt;
          &lt;input type="file" (change)="onChange($event)"/&gt;
          &lt;md-input class="ctrl" [(ngModel)]="fileName"&gt;&lt;/md-input&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Script:</strong></p>
  
  <pre><code>onChange(event: any) {
      this.fileName = event.srcElement.files[0].name;
  }
  </code></pre>
  
  <p>Help me how to do multiple files upload.</p>