Currently we have the following in ngRoute there is a route.js
This function has a $q to resolve the dependency...

https://github.com/angular/angular.js/blob/master/src/ngRoute/route.js#L536

While these lines resolving things:

> angular.forEach(locals, function(value, key) { > locals[key] = angular.
isString(value) ? > $injector.get(value) : $injector.invoke(value, null, 
null, key); > }); the template also gets resolved in the same then which is 
pretty bad. Bad in the sense of that I can't change the templateUrl in a 
$route.current. Couldn't the team change that to have the resolve in their 
own then and the template in their own. 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to