call event on file select in angular code example
Example: angular button open file input
<input type="file" accept="image/*" #file>
<button (click)="file.click()">Upload file</button>
<input type="file" accept="image/*" #file>
<button (click)="file.click()">Upload file</button>