AngularJS get current templateUrl (html page)

I've used AngularJS to build my app. ng-view is set up with routing via the routeProvider.

It all works fine but I'd like to know how I can get the current templateUrl?

$routeProvider.
    when('/terms', {
                    templateUrl: '/pages/terms.html',
                    controller: AboutController
                   });

In this case /pages/terms.html...

You're probably looking for $route.current.templateUrl.