title: Single page application - load js file dynamically based on partial view
body: <p>I've just started learning Angular and following the tutorial here - <a href="http://docs.angularjs.org/tutorial/step_00" rel="noreferrer">http://docs.angularjs.org/tutorial/step_00</a></p>
  
  <p>I'm downloaded the seed example from GitHub and it works great. I have a question though - if a partial view requires an external js file to be referenced, does it need to be added to the index.html file at the beginning? I want the app to be as lean as possible and only want to include the js references that are required for the present view. Is it possible to load the js files dynamically based on a view?</p>