title: Show image before click to upload file in Angular 9?
body: <p>I have code like this in my current angular project to upload a file:</p>
  <pre class="lang-js prettyprint-override"><code>&lt;input #file type=&quot;file&quot; accept='image/*'  (change)=&quot;Loadpreview(file.files) &quot; /&gt;
  </code></pre>
  <p>How can I change this so it can upload when the user clicks on an image instead?</p>