title: Angular 2 - How to read the file from the given URL using FileReader in typescript?
body: <p>I have jenkins build which contains Build Artifacts. The Artifact contains a text file. I want to access this file and read the file. This file contains some version tag.I want to display this file content in the Angular 2 typescript application. </p>
  
  <blockquote>
    <p>Jenkins REST API to access the artifact file -
    <a href="http://localhost:8080/job/myjobname/job/develop/59/artifact/build/docker/myFileName.txt" rel="nofollow noreferrer">http://localhost:8080/job/myjobname/job/develop/59/artifact/build/docker/myFileName.txt</a></p>
  </blockquote>
  
  <p>As soon as I hit this URL in the browser it will download the text file.</p>
  
  <p>I want to only read the file from this given URL in my Angular 2 typescript application. How can I read this file from URL using FileReader? Is there any other better way to do it?</p>