my API controller is returning a csv file as seen below:
[HttpPost] public HttpResponseMessage GenerateCSV(FieldParameters fieldParams) {
The last answer worked for me for a few months, then stopped recognizing the filename, as adeneo commented ...
@Scott's answer here is working for me:
Download file from an ASP.NET Web API method using AngularJS