Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Routing with Angular 2 and EpiServer

$
0
0

Is it possible for Angular 2 to ignore whatever comes before a route/path? I'm using Angular 2 on my EpiServer website. When I press a link using Angular, it removes whatever path that comes before it.

For example:

  • User navigates to /jobs/application/step1.
  • He or she performs some action on the page, then presses a button to go to /jobs/application/step2.
  • Angular then removes /jobs/application/ from the path and the url becomes /step2.

Is it possible for Angular to continue using the current path and put the step 2 path on /jobs/application/step2?


Viewing all articles
Browse latest Browse all 6894

Trending Articles