In my app I have ui-router set up, and in one particular state i.e. "MAP" I want to load a 3rd party Javascript file.
Right now I have it as part of my Index.html at the bottom of the page. But i thought it would be better practice to only load this in view which needs it.
What is the best way to include this script in only specific partial views ?