Hi,
Here's how I bind the event listener:
$scope.$on('$routeChangeSuccess', function ($event, current) {
console.log(current);
});
In the console I see the event is triggered twice:
1st time, the $route object has the "redirectTo" property;
2nd time, the $route object has the "reloadOnSearch" property;
My questions are:
why the event is triggered twice?
why the $route object has different value?
Thanks,
David