title: AngularJS - Disabling the PDF print/download bar when displaying PDF in browser. Converting PDF to Images?
body: <p>I am exposing a PDF file in the browser like:</p>
  
  <pre><code> //html
   &lt;object ng-show="content" data="{{content}}" type="application/pdf" style="width: 100%; height: 550px;"&gt;&lt;/object&gt;
  
   //angular controller
    $http.get('/api/,
      { responseType: 'arraybuffer' })
      .success(function (response) {
          var file = new Blob([(response)], { type: 'application/pdf' });
          var fileURL = URL.createObjectURL(file);
          $scope.content = $sce.trustAsResourceUrl(fileURL);
      });
  </code></pre>
  
  <p>This works fine getting the Stream/Blob of the PDF back and exposing it in the browser, but I wish to not show the print/download/rotate bar that is shown at the top:</p>
  
  <p><a href="https://i.stack.imgur.com/GcnVR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GcnVR.png" alt="enter image description here"></a></p>
  
  <p>Any idea how this can be achieved? If I have to convert the PDF to a series of images is there a good way to do that from a BLOB form either on my client or server side?</p>