How to use Javascript Code in Ionic & Angular Project?

I’m new to ionic and angular, and I’m trying to use the ion-rangeslider, but all I get in the browser is input text.

  1. I have added the JS files (rangeslider.js and rangeslider.min.js) to the project folder.
  2. JS files are imported in
  3. I have added the CSS file (rangeslider.css) to the project folder.
  4. <input type="text" id="example_id" name="example_name" value="" /> is added to the html page.
  5. ionRangeSlider('#example_id'); is added to the html page like this: <script > ionRangeSlider('#example_id'); </script>