Check out example codes for "angular 2 input file change value". It will help you in understanding the concepts better.

Code Example 1

<input #FileDialog accept=".xlsx" type="file" class="d-none" (change)="selected_file($event)">

Learn ReactJs, React Native from akashmittal.com