Angular 2 (change) for file upload
<p>I am using the Angular 2 (change) to detect the uploaded file and trigger the function. But I am facing the problem when I tried to upload the same file again, as there is no change in the file, (change) is not triggered. Please suggest the event binding in this case.</p>

<pre><code>&lt;input type="file" name="file" id="fileupload" (change)="onChange($event)"/&gt;
</code></pre>

<p>Is there any way to reset the input value of type file to empty.</p>