Answer the question
In order to leave comments, you need to log in
Angular 2 router for component?
I have an app level router.
/main /item
What I want: There are a number of directories (list trees ...) that should open in a modal window.
I want the modal window component to have its own router
/main/modal/filter1
/main/modal/filter2 inside
and so that it does not replace main, and view changes only in the modal window.
you can do something like
<first-filter-content ngIf="currentFilter=='first'">
<second-filter-content ngIf="currentFilter=='second'">
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question