I have components Home and About in Angular CLI app. I have included the javascript file required for both components in angular.json. But I want to add component-specific javascript files in the component. Say, I want to add home.js to the Home component. Is there any way possible?
I have tried adding script into DOM using this LINK, However, I want to add external js files instead.