First of all, I've seen this post which seems to be close to my issue but I admit I got kind of lost : How to route to a Module as a child of a Module - Angular 2 RC 5
I'll try to make it simple :
- I have my
app.component.html
file which has a<router-outlet>
. - In this first outlet, my
MasterModule
loads theMasterComponent
which has another<router-outlet>
. From myMasterRoutingModule
, I can then define my child routes from myMasterComponent
. - I have my other module (
EquipmentSLModule
), which has his own routes, and my aim is to add child routes (to be loaded inside my second<router-outlet>
fromMasterComponent
) from myEquipmentSLRouting
.
Is there a way to do that ?
N.B : I know there is no code yet, I'll edit and add some in a while.