title: Covert Base64 string to PDF using angular2, specially for IE11 and up
body: <p>I am using a base64 to display my PDF in a new window in the browser:</p>
  
  <pre><code>let pdfCall$ = this._sdkService.getSDK().api.invPdf.get({ query: { invId: inv.invId }});
  let pdfDisposable = pdfCall$.subscribe((invPdf: InvPdf) =&gt; {
      window.open('data:application/pdf;base64,' + invPdf.pdfString);
  }, 
  </code></pre>
  
  <p>InvoicePDF class:</p>
  
  <pre><code>export class InvoicePdf {
  
      public pdfString: string;
  
      constructor(pdfString: string) {
          this.pdfString = pdfString;
      }
  }
  </code></pre>
  
  <p>This is working for all browsers needed except IE11 and Edge.</p>
  
  <p>We are using Angular2 so I am wondering what's the best library to make this work on all browser, I have take a look at PDF.JS and ViewerJS, but there is not enough documentation to make it work on Angular2. Do I need an external library or can this be done natively, maybe use a decorder and embedded to the HTML?</p>
  
  <p>The response needs to be in a key/value pair, JSON format.</p>