mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-21 21:01:51 +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);
|
this.$watch(function(){return dirty + location.hash;}, updateRoute);
|
||||||
return $route;
|
return $route;
|
||||||
}, ['$location']);
|
}, ['$location'], EAGER_PUBLISHED);
|
||||||
|
|
||||||
angularServiceInject('$xhr', function($browser, $error, $log){
|
angularServiceInject('$xhr', function($browser, $error, $log){
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue