aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute
diff options
context:
space:
mode:
authorIgor Minar2014-01-13 15:12:17 -0800
committerIgor Minar2014-01-13 15:12:17 -0800
commit308598795af75c33a966ecb3124f4a640d72458d (patch)
tree8caff12f77643830dce0c1bbd9d6924013a0deb4 /src/ngRoute
parent2cd09c9f0e7766bcd191662841b7b1ffc3b6dc3f (diff)
downloadangular.js-308598795af75c33a966ecb3124f4a640d72458d.tar.bz2
revert: fix($route): update current route upon $route instantiation
This reverts commit 2b344dbd20777fb1283b3a5bcf35a6ae8d09469d. I think I merged this commit prematurely and in addition to that we found out that it's breaking google apps. Jen Bourey will provide more info at the original PR #5681
Diffstat (limited to 'src/ngRoute')
-rw-r--r--src/ngRoute/route.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 2db74a02..34f3f9ec 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -443,7 +443,6 @@ function $RouteProvider(){
}
};
- updateRoute();
$rootScope.$on('$locationChangeSuccess', updateRoute);
return $route;