API REST angular de carga de archivo
<input type="file" id="avatar" (change)="onFileChange($event)" #fileInput>
Depressed Dingo
<input type="file" id="avatar" (change)="onFileChange($event)" #fileInput>