From a7da160c1d5f1614a7fa66ca9c31edb6edc7e0d8 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 14 Oct 2010 15:44:14 -0700 Subject: publish $route since we bind it with $route.current in ng:include --- src/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services.js b/src/services.js index 5b65f8fd..6857d693 100644 --- a/src/services.js +++ b/src/services.js @@ -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; -- cgit v1.2.3