SyntaxFix
Write A Post
Hire A Developer
Questions
modification for the code above:
$scope.$on('$locationChangeStart',function(evt, absNewUrl, absOldUrl) { console.log('prev path: ' + absOldUrl.$$route.originalPath); });