diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index ad7bbc710b48..56ec491a207e 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -607,8 +607,8 @@ function $RouteProvider() { return $q.all(locals); } }). - // after route change then(function(locals) { + // after route change if (nextRoute == $route.current) { if (nextRoute) { nextRoute.locals = locals;