I have two applications. From one applications we are coming to second applications. from the first application
while coming from first application to second application it will send some data to second application.
second application http://localhost:8080/myapp/#/login
Based on URL prams from the first application we have to redirect to specific component.
routes in angular app
{ path: '', pathMatch: 'full', redirectTo: '/login' }, { path: '**', pathMatch: 'full', redirectTo: '/login' },
what is best way to achieve this?