title: Loading a Blob (PDF) with Angularjs into iFrame Filename?
body: <p>Hello currently I'm loading a blob via angularjs into a iframe, however when saving the blob it has some wierd filenames is there a way to specify it?
  Here is my code:</p>
  
  <pre><code>let id = $routeParams.id;
  $http({
    url: `http://..../${id}/`,
    method: 'GET',
    data: {},
    headers: {
      'Content-Type': 'application/json'
    },
    responseType: 'arraybuffer'
  }).success((data, status, headers, config) =&gt; {
    var blob = new Blob([data], {type: 'application/pdf'});
    var url = window.URL || window.webkitURL;
    var objectUrl = url.createObjectURL(blob);
    this.blob = $sce.trustAsResourceUrl(objectUrl);
  });
  </code></pre>