How to reset selected file with input tag file type in Angular 2?
<p>This is how my input tag looks like:</p>

<pre><code>&lt;input type="file" placeholder="File Name" name="filename" (change)="onChange($event)"&gt;
&lt;button&gt;Reset&lt;/button&gt;
</code></pre>

<p>I want to reset the selected file in Angular 2. Help would be greatly appreciated. Let me know if you need more details.</p>

<p>P.S.</p>

<p>I could get file details from <code>$event</code> parameters and save it in a typescript variable, but this variable is not bound to the input tag.</p>