how can I read a file using Angular 2 without using a html view. for examples up to now they have provided an example like.
How to make FileReader work with Angular2
using
<input type="file" (change)="changeListener($event)"> selecting a file using an input.
I want give my constant path for it without selecting the file from the view how can i do it ?