title: Angular File-saver: How to prompt the 'Save As' window and not save directly
body: <p>I am using the <code>file-saver</code> to save a file on client browser. However the file is directly getting downloaded.</p>
  
  <pre><code>const blob = new Blob([data.body], {type: 'application/'pdf});
    FileSaver.saveAs(blob, 'export.pdf')
  </code></pre>
  
  <p>How to prompt the <strong>"Save As" window</strong> so user can save it with their own name and location. </p>
  
  <p>I have seen a few answers on changing the settings in the browser, but wanted to know if <code>file-saver</code> has an api or any tweak in the code can prompt the window.</p>
  
  <p>Note:- There aren't many resources on file-saver Save As API ( If not for browser settings.</p>