I got the following PDF stream from a server: 
How can this stream be read in AngularJS? I tried
Pleas have a look on the following code:
On Controller Side -
$http.get(baseUrl + apiUrl, { responseType: 'arraybuffer' })
.success(function (response) {
var file = new Blob([response], { type: 'application/pdf' });
var fileURL = URL.createObjectURL(file);
$scope.pdfContent = $sce.trustAsResourceUrl(fileURL);
})
.error(function () {
});
On HTML Side: