Reputation: 838
Is there any possibility to specify a router-outlet? Maybe with an ID or something?
This is what i need to do:
@routes:{path:'/data', component:datacomponent},
{path:'/charts, component:chartcomponent},
{path: '/overview', component:???chartcomponent,datacomponent???}
I either need to be able to insert multiple components into one route, or to specify the router-outlet(if it is possible to use the same path twice or more often).
As you can see, this is Angular2. There is actually no way that I'm using the router-deprecated, because I need to have the providers and directives from the new router to keep my app running.
Upvotes: 0
Views: 525