angular button open file input 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>