I have two modules. Both of them have constant defined with same name. 
Those two modules are injected in to other module which is kind of 
aggregate module. 
In my app it is like 'userListModule' and 'personListModule' put together 
in 'userManagementModule'.

The problem is that the constant is shared between two modules and i have 
same value injected in to two modules even if constants have different 
values.

See example plunk: http://plnkr.co/edit/6KCw3bRxmUswgBeFcbAO?p=preview

Is this a normal behavior of modules?

br,
MichaƂ

-- 
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/groups/opt_out.

Reply via email to