Routing/Navigation
Angly is compatible with parameter routing. There are followings steps:
Last updated
Angly is compatible with parameter routing. There are followings steps:
Last updated
1. Go to src >> app >> and open app.routing.ts file and add routing like this:-
For Reference:
2. If you want to use this routing in component then go to src >> app >> and open component.ts file then do the followings:-
a) Add the the routing at top of the file like this:
b) Add in your desire component and add these line of code in your function:- For Example:-
For Reference :- https://alligator.io/angular/query-parameters/