Any help for making the slider sound control working?

Hello everybody,

I just start to learn the IONic framework. I made one ringtone app. I don’t know too much about the structure. So you may find I organized somehow in a wrong way of my files. Anyway, to keep it simple. I would like to get help from you for advice of slider sound control. I would like to have sound control when user slide the bar. You can find my file in the www folder, not platform www. I made my html code into the index.html and I need your help to have a look of my js file. I comment out the bottom part in js file when I don’t know how to do it. Tks. You can find my file in github link:
https://github.com/yuansyi/ringtone1