How to run JS file inline in ionic

#1

Hi i know like the same question has been asked several posts and i gone through all of them still couldn’t get any solution like there is no proper or clear solution… actually i have an accordion which has JS file, the accordion works only if the specific JS file runs, as normal HTML file we can run JS by adding tag … i wana run a JS file inline in HTML and make the accordion work in ionic, please help …

Thank You …