file upload input bos and button 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>