trigger file input on button click 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>