title: Why can I only download a file when I navigate to the API call directly?
body: <p>I am using the <a href="https://www.npmjs.com/package/excel-export" rel="nofollow">excel-export</a> package to allow the user to download an Excel file.  I put the logic in an API call to <code>/api/Excel</code>.  If I navigate in the url bar directly to <code>localhost:3000/api/Excel</code>, the file downloads.  However, if I make an http call in Angular <code>$http.get('api/Excel');</code>, the console shows a successful response but nothing downloads.</p>
  
  <p>I have similar Angular API calls throughout my application which all work perfectly (when downloading files aren't involved).</p>