title: How to remove selected file name at input type=“file” by function in angular 4?
body: <p>I'm new to Angular. I'm using below code to attach file from folder,</p>
  
  <pre><code>   &lt;input #fileInput type="file"  /&gt;
  &lt;button type="button" (click)="fileInput.click()"&gt;trigger&lt;/button&gt;
  </code></pre>
  
  <p>After selecting specific file the UI looks like the attached image<a href="https://i.stack.imgur.com/gbzkd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gbzkd.png" alt="enter image description here"></a></p>
  
  <p>Now i'm trying to remove the selected file name with the default text "No file chosen" next of Choose File button like this image, when clicking some button<a href="https://i.stack.imgur.com/WDmeb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WDmeb.png" alt="enter image description here"></a></p>
  
  <p>Can anyone suggest me an idea to achieve this? Thanks in advance.</p>