I\'ve written code that uses Angular $http to download a file. The name of the file is not specified in the URL. The URL contains a unique identifier for the file, wh
Use response.headers to get http response headers:
response.headers
$http.get(myUrl).then(function (response) { // extract filename from response.headers('Content-Disposition') }