title: AngularJS get current templateUrl (html page)
body: <p>I've used AngularJS to build my app. <code>ng-view</code> is set up with routing via the routeProvider.</p>
  
  <p>It all works fine but I'd like to know how I can get the current templateUrl?</p>
  
  <pre><code>$routeProvider.
      when('/terms', {
                      templateUrl: '/pages/terms.html',
                      controller: AboutController
                     });
  </code></pre>
  
  <p>In this case <code>/pages/terms.html</code>...</p>