angular-file-saver icon indicating copy to clipboard operation
angular-file-saver copied to clipboard

Correction of readme.md

Open radjivF opened this issue 9 years ago • 5 comments

I just correct the readme. You don't need to declare Blop, if you do you will have an injection error, Cheers

radjivF avatar Apr 28 '16 04:04 radjivF

Why is that? Isn't Blob an Angular service?

kscc25 avatar Oct 24 '16 10:10 kscc25

I guess Blob is a javascript object http://www.javascripture.com/Blob

radjivF avatar Oct 24 '16 23:10 radjivF

Yes, but it's not available on every browsers so we need to inject Blob polyfill

kscc25 avatar Oct 25 '16 02:10 kscc25

I got an injection error when I did it. The only way to make it work was to take out in the dependencies injection.

radjivF avatar Oct 25 '16 23:10 radjivF

Load dist/angular-file-saver.bundle.js then you are good.

kscc25 avatar Oct 26 '16 05:10 kscc25