The URL I would like to generate is:
http://localhost:8000/Home/(fooOutlet:foo/(barOutlet:bar))
I have a router-outlet named 'Foo' and it contains a router-outlet named 'Bar'.
How can I show a component in Bar?
I created the codes below, but it doesn't do the trick:
this._router.navigate([{ outlets: { fooOutlet: 'foo', barOutlet: 'bar' } }], );
this._router.navigate([{ outlets: [{ fooOutlet: 'foo' }, { barOutlet: 'bar' }] }]);
It gives me this:
(fooOutlet:foo//barOutlet:bar)
But I need:
(fooOutlet:foo/(barOutlet:bar))