I defined some routes:
angular.module(\'myApp\', []) .config(\'$routeProvider\', function($routeProvider) { $routeProvider.when(\'/aaa\', { templateUrl
I think you can easily get the path from current
current
app.run(function ($rootScope) { $rootScope.$on('$routeChangeSuccess', function (e, current, pre) { console.log(current.originalPath); // Do not use $$route here it is private }); });