0

I downloaded a ready to use template that contains HTML, CSS and Js files for an Angular project. The HTML file need tthe Js files to work correctly. How can i add the Js files?

PS: i have already added the script in index.html and the path in angulas.json but it didn't work

2
  • 1
    What kind of template? What do these files do? Commented Oct 18, 2018 at 0:07
  • Side menu template Commented Oct 18, 2018 at 10:05

1 Answer 1

1

ther are plenty answers on this subject, for example: here

say you have library abc.js, add the following code to the angular components:

declare var abc: any;
Sign up to request clarification or add additional context in comments.

Comments