angular-file-saver

An AngularJS service that implements the HTML5 W3C saveAs() in browsers that do not natively support it

streamsaver

StreamSaver writes stream to the filesystem directly - asynchronous