title: angular 2 - How do you include javascript for a component?
body: <p>I am completely new to Angular, and I have started directly with Angular 2. One of the things that are great about Angular is that I can modularize every feature of my web page. Components have their own html and stylesheet. </p>
  
  <p>But what about their own javascript file ? How can I incluse its own particular javascript file ? I have seen this SO <a href="https://stackoverflow.com/questions/38248142/how-do-i-include-a-javascript-library-with-angular-2">question</a> is the only way available is to use SystemJS ?</p>
  
  <p>For example lets say that one Component uses the Google Maps API or one component uses a charting library, how is that handled ?</p>