aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngRoute/route.js')
-rw-r--r--src/ngRoute/route.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 34f3f9ec..2db74a02 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -443,6 +443,7 @@ function $RouteProvider(){
}
};
+ updateRoute();
$rootScope.$on('$locationChangeSuccess', updateRoute);
return $route;