how do i seperate angular html and script code?

You need to install the packages. Here you have the packages at your script.

npm i jquery
npm i bootstrap
npm i @fortawesome/angular-fontawesome

And do not forget to add the bootstrap & jquery at the angular.json

 "styles": [
  "scripts": [

And I suggest you to separate your code in different components. Thats you make your code more readable and you can faster fix a bug or find what you want.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top