Using javascript files with ionic


Hey … I want to use this js file in my ionic application in a specific page
this is a js file for a slider

when i import the file in html page like this :

it doesn’t work !

and this is the js file for the slider


Why aren’t you just using the Ionic component?