I made a simple test to practice the RouteConfig feature and I don't know how to go back to the main component from the children component. My plunker is:
plnkr.co/edit/25DCfUADQZJb2XMjb0hW?p=preview
Thanks in advance!
I made a simple test to practice the RouteConfig feature and I don't know how to go back to the main component from the children component. My plunker is:
plnkr.co/edit/25DCfUADQZJb2XMjb0hW?p=preview
Thanks in advance!
I think it may help you. Just try it.
this._location.back();