Angular 1 Angular File Saver SaveAs not working

1.4k Views Asked by At

I am having issue with Angular file saver module from http://alferov.github.io/angular-file-saver/

I am installing the package using npm install --save and injecting it into my controllers as shown on the readme for alferov's angular file saver and I am getting the following error. I can not use 'import' and 'let' commands as I am using an old version of javascript and I cannot update my version of javascript as old version is needed.

saveAs is not supported. Please include saveAs polyfill

Any ideas of what is needed to be done to resolve this issue? Is updateing javascript the only way?

Thank you

0

There are 0 best solutions below