Save image to image gallery. Ionic Web App


#1

So i have an ionic web app not a cordova/phonegap app. In my app, i want to be able to download the image and save it on my laptop or on my phone since I can view the app via safari on my phone as well.

PS: THIS IS NOT A CORDOVA PROJECT HENCE I CANT USE cordova-file-transfer or any cordova related tools. Does anyone know how to do it using pure angularjs.

I have this jsfiddle but it is not working http://jsfiddle.net/gukQp/
Any help is appreciated.