title: How to get files from angular 2 onDrop event?
body: <p>I tried like this but <code>onDrop</code> method don't return image files when I drop to it...</p>
  <pre><code>onDragStart(event, data: any) {
    event.dataTransfer.setData('data', data);
  }
  onDrop(event, data: any) {
    let dataTransfer = event.dataTransfer.getData('data');
    event.preventDefault();
  }
  allowDrop(event) {
    event.preventDefault();
  }
  </code></pre>
  <pre class="lang-html prettyprint-override"><code>&lt;div (drop)=&quot;onDrop($event, dropData)&quot; (dragover)=&quot;allowDrop($event)&quot;&gt;&lt;/div&gt;
  &lt;div (dragstart)=&quot;onDragStart($event, dragData)&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>Any solution for this?</p>