is there a way to create filename for urlCreator.createObjectURL(blob)
<p>I'm not that familiar with Javascript, is there a way that I can create my own filename? What happens is it opens a new tab and the filename is in Guid Format. </p>

<pre><code>if (urlCreator &amp;&amp; headers['content-type'] != 'application/octet-stream') {
  // Fallback to $window.location method
  try {
    // Prepare a blob URL
    // Use application/octet-stream when using $window.location to force download
    var objectUrl = urlCreator.createObjectURL(blob);
    $window.open(objectUrl);
    success = true;
  } catch (ex) {
    //console.log("Download link method with $window.location failed with the following exception:");
    //console.log(ex);
  }
}
</code></pre>