I'm working on an AngularJS2 project, and I would like to use 3 Javasript plugins in one of my components (jQuery, FreeWall & MetroJS)
In my component I would like to have a <script>
tag as well with some JavaScript inside.
Unfortunately I am not really sure whether this all is possible. I've been searching the web but haven't really found the thing I was looking for.
So far I tried using a <script>
tag in the main index.html, tried a few ways of importing it into the homepage.component.ts file and using a <script>
tag in the homepage.component.html file. None of these actually worked.
Could someone help me out with importing external javascript plugins into components in AngularJS2? Thanks in advance!