How to use jQuery Plugin with Angular 4?

I want to use a range slider in an angular project and I tried using one available module for angular 4. It works fine during compilation but when I try to build it for deployment, it throws the be...