I\'m admittedly an AngularJS newbie but I can\'t find why this code works in Chrome and Firefox but gives \"Access is denied\" in the javascript console with IE
Saving text in a local file in Internet Explorer 10
It looks like IE blocks window.open on blobs, but implemented their own functions for opening and saving blobs. Instead try
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(blob);
}
else {
var objectUrl = URL.createObjectURL(blob);
window.open(objectUrl);
}