This is not the first time I'm facing this problem, and I'm pretty sure there are several 'work-around' to this problem. Every now and then I'm looking online to some front design code to improve the projects the UX of projects I'm working on. It might be a carousel, some animation, etc ... Most of the time those project are full JS and I have no idea how to use them / adapt them / integrate them so they can be used in my Angular 4 app.
Let's say I want to integrate this : https://gist.github.com/CodeMyUI/9e60eaddc810c3aac9558af52859459b
Should I add the .js file as an external library and to figure out how to use it in my Angular App ?
Should I find a way to write JS inside Angular ? (TS file)
Is there a solution not listed here that could do the trick ?