Open khalla opened 9 years ago
I use following code - which is taken from the Component Router itself!
$rootScope.$watch(function () {
return $location.path();
}, function (newUrl) {
console.log("Navigated to " + newUrl);
[... your own code ...]
});
Hi, it might seem trivial, but i'm having trouble to detect when route changes. In the old router i used a listener to $routeChangeStart but now i dont know how to achieve that....
Thanks, Renato