Answer the question
In order to leave comments, you need to log in
How to add routing in Angular 2 without associating a segment with a component?
There is a table with pagination. I would like the segments of the address bar to include the number of the table page being viewed. But at the same time, I can’t figure out how to register such a routing so that the segment is compared not with the component, but with the property of the parent component.
Answer the question
In order to leave comments, you need to log in
Just write the parameters in the route
where :page will be your page number
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question