Hello,

Is it possible with  angular 4 to define two angular modules that depend 
each other ?

A use case could be, for instance, a Group Module and a User Module.
The Group module would depend upon the User module to display the members 
of groups in its template and the User would depend the Group to display 
the memberships of users.
Both would need to add the other one in the import section of its NgModule 
metadata.

I am trying to do something similar and it fails at compilation with AOT : 
RangeError: Maximum call stack size exceeded. When I use JIT compilation it 
fails at runtime with this error :
Error: (SystemJS) Unexpected value 'undefined' imported by the module 
'StructureModule'. 

Thanks for your help,
Regards,
Arnaud.


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to