title: How do you download a PDF from an API in angular2 RC5?
body: <p>This previous question had some good work arounds:</p>
  
  <p><a href="https://stackoverflow.com/questions/35368633/angular-2-download-pdf-from-api-and-display-it-in-view">Angular 2 download PDF from API and Display it in View</a></p>
  
  <p>but now that RC5 is out we can use arrayBuffer(). I can't seem to get anywhere with this. How do I go from this to a nice pdf blob:</p>
  
  <pre><code>return this._authHttp.get(this.fileUrl+id)
          .map((res:Response) =&gt; res.arrayBuffer())
          .subscribe(
              data =&gt; {
                  console.log(data);
                  var blob = new Blob([data], {type: 'application/pdf'});
                  console.log(blob);
                  saveAs(blob, "testData.pdf");
  
          },
              err =&gt; console.error(err),
          () =&gt; console.log('done')
      );
  </code></pre>
  
  <p>data ends up being twice the size I would expect. Any ideas what I'm missing?</p>