i am using angular2 and am trying to get the data of the uploaded file .CSV file but i am not able to get the data of the file. The below is my code
html
<input type="file" name="File Upload" id="txtFileUpload"
(change)="changeListener($event)"
accept=".csv"/>
component
changeListener(fileInput: any): void {
debugger;
//want to get the data of the uploaded file
}