Failed to load PDF document on hybrid mobile app

I am not able to view/download the pdf file on hybrid mobile app which has been implemented with phonegap,ionic and angularJS. Below is the code to generate the pdf and the same code is working on desktop web application and both code consuming same service.

$scope.generateReport = function(clientId){clientService.generateReport(clientId).then(
function(response){var file = new Blob([ response.data ], {
type : ‘application/pdf’});
var fileURL = URL.createObjectURL(file);
window.open(fileURL);});};