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.