title: Load JS script on component level (not at startup)
body: <p>I have lots of JS files in my project. I want to load them when particular module or component load not when the app start.</p>
  
  <p>How to do this?</p>
  
  <p>Currently, I am loading them in <code>index.html</code>. The other way is to add them in <code>angular-cli.json</code>. But both ways will load the JS files at the startup. However, I need them to to load when the particular page or module runs.</p>