Search code examples
angularjsangularangular-router

Is it possible to route an old AngularJS page with a new Angular router?


We are migrating an application where we have old(AngularJS) and new(Angular 8) components. They are complex and so we want to migrate them step by step. My question is if it is possible to add a route to my "new" router which redirects to an old AngularJS component?


Solution

  • You can use ngUpgrade to run Angular + AngularJS until you fully migrated, but you will need some changes in the AnguleJS too components.

    You can check the official documentation here.