Is there a way to include third party JS scripts inside an Angular2 component instead of including it in index.html?
I have a table component that wraps dataTables. It's the only component that needs the dataTables js/css includes. It would be nice if I could keep my index.html cleaner. The component decorator does let you specify css files.
I tried moving my script tags inside my component html, but that doesn't seem to work.