Hi Sander,

Well, I'm not hoping for that.  I just want to confirm what's the exact 
behavior about how angular.injector() get $injector instance because the 
document is not saying much about this detail.  Actually, every time you 
call angular.injector(), you are truly get a new $injector instance, but 
this injector will get the service from the instanced modules if the app 
has been instantiated.


Sander Elias於 2015年9月9日星期三 UTC+8下午5時54分12秒寫道:
>
> Hi Will,
>
> That confirms my suspicion. If an app is already instantiated, the 
> injector will get that, in stead of creating an new instance. Makes a lot 
> of sense, but it's not what you where hoping for. Your goal is to be able 
> to detect versions of parts of your app if I read your question right?
>
> Regards
> Sander 
>

-- 
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