angular button open file input
snippet in javascript

angular button open file input

user3960

<input type="file" accept="image/*" #file>
<button (click)="file.click()">Upload file</button>