title: How to get file object with ng2-file-upload + angular 2
body: <p>I want to accomplish upload on file drag:
  I am using ng2-file-upload version 1.2.1 with following code snippet:</p>
  
  <p>app.module.ts:</p>
  
  <pre><code>import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload';
  ..
  imports: [
          FileUploadModule
  ]
  </code></pre>
  
  <p>component.ts:</p>
  
  <pre><code>import { FileUploader } from 'ng2-file-upload/ng2-file-upload';
  
  ...
  
  class AppXYZComponent{
  private uploader: FileUploader = new FileUploader({ url: 'blah.com' });
  
      public hasBaseDropZoneOver:boolean = false;
      //public hasAnotherDropZoneOver:boolean = false;
  
      public fileOverBase(e:any):void {
          console.log("hasBaseDropZoneOver", e);
          this.hasBaseDropZoneOver = e;
      }
  }
  </code></pre>
  
  <p>app.component.html:</p>
  
  <pre><code>&lt;div class="well" ng2FileDrop [uploader]="uploader" [ngClass]="{'another-file-over-class': hasBaseDropZoneOver}"
               (fileOver)="fileOverBase($event)"
               &gt;
              Drop CSV here
          &lt;/div&gt;
  </code></pre>
  
  <p>The function fileOverBase gets successfully called on drag, with event e printed as true. Now How can i get the dragged file's object??</p>