mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-21 17:00:24 +00:00
publish $route since we bind it with $route.current in ng:include
This commit is contained in:
parent
d9c8284ea5
commit
a7da160c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ angularServiceInject('$route', function(location){
|
|||
}
|
||||
this.$watch(function(){return dirty + location.hash;}, updateRoute);
|
||||
return $route;
|
||||
}, ['$location']);
|
||||
}, ['$location'], EAGER_PUBLISHED);
|
||||
|
||||
angularServiceInject('$xhr', function($browser, $error, $log){
|
||||
var self = this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue