title: how to trigger click event of input file from button click in angular 2?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="file" accept="image/*"&gt;
  
  &lt;button&gt;Upload file&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to trigger click event of input type=file from button's click event in Angular 2?</p>