How to upload a CSV file and read them using angular2? : <p>i have a requirement of uploading a .CSV file and read them inside my component, i have gone through this blog but it has a .CSV file stored in a particular loaction, i want to upload the .CSV file and read them inside my component. How can i do it</p>

<p>Do we have any build in plugin which we can use? if not then how can we achieve this goal.</p>

<p>this is code which i have tried</p>

<p><strong>view</strong></p>

<pre><code>&lt;input type="file" name="File Upload" id="txtFileUpload" 
        (change)="changeListener($event)" 
        accept=".csv"/&gt;
</code></pre>

<p><strong>component</strong></p>

<pre><code>changeListener($event:Response): void {
    debugger;
   // i am not able to get the data in the CSV file
  }
</code></pre>

<p>in the changeListener(), i am not able tom get the content of the .CSV file, can anyone help me on this?</p>

<p>thank you</p>
