1$http.post('/fetchBlobURL',{myParams}, {responseType: 'arraybuffer'})
2 .success(function (data) {
3 var file = new Blob([data], {type: 'application/pdf'});
4 var fileURL = URL.createObjectURL(file);
5 window.open(fileURL);
6});
7