Hello,
Found an issue in AsyncRoutes. It looks like RouteData is not preserved unlike with SyncRoutes.
Please check the following plunker: http://plnkr.co/edit/uc26p2QEMHZgiEYwqeK6?p=preview
Line 21 works, while 22 does not work.
Btw, I also have a question, how can we retrieve the name of the current route? For instance when routerOnActivate is called, I'm able to get the url path but what about the name? I need it to inject in a RouterLink.
Hello,
Found an issue in AsyncRoutes. It looks like RouteData is not preserved unlike with SyncRoutes.
Please check the following plunker: http://plnkr.co/edit/uc26p2QEMHZgiEYwqeK6?p=preview
Line 21 works, while 22 does not work.
Btw, I also have a question, how can we retrieve the name of the current route? For instance when routerOnActivate is called, I'm able to get the url path but what about the name? I need it to inject in a RouterLink.