title: How do I use two versions of the same javascript library without bleeding functions in the same page?
body: <p>I have a use case where I need to use multiple versions of the Nvd3 library for different charts on the same page in an angular application (Each chart is loaded through a separate template). How do I avoid such a collision?</p>
  
  <p>So, let's say the graph on partial_1.html requires a v1.8, graph on partial_2.html requires v1.1 and so on. Any help would be highly appreciated.</p>
  
  <p>jQuery tries to fix this using the noConflict method, but I can't seem to find a solution that works for arbitrary js libraries (not just jQuery).</p>