Pranab Dhar
Nov 22, 2016 · 1 min read

Hi Victor,

I have been following your article and the ng1ng2router example and set up a POC. In my POC (https://github.com/pdhar-tibco/phone-upgrade/tree/router-outlet Ng1 App and a micoservice Ng2 app https://github.com/pdhar-tibco/stocks) are supposed to work together as a single page app. As of now they are launched independently and the main app(phone-upgrade) is where I want to see both apps show up. I have been able to get the route separation using the UrlHandlingStrategy on the Ng2 app side i.e “/stocks/*” goes to the Ng2 router and the rest is handled by Ng1 router. And both apps have a default route “” which in Ng1 App case routes to /phone and for Ng2 /stocks/Dashboard. I am not sure how to do an arbitration for the default “” routing as there are 2 active routers.

I am also reading your book to get more understanding on the Ng2 routing but I also have to handle existing Ng1 app which is onboarding a new Ng2 microservice app in hub(Ng1)-spoke(Ng1+Ng2) microservice model.

I would like to know if I am missing any key points.

Thanks

Pranab