I have a simple ionic app that plays sounds when a button is pressed. When the app loads a page of sounds it uses an Http request to load all the sounds. I want to make so that when the sound is added to the users favorite it downloads to the user's device.
So basically all I need is a function.