'How to prevent "re-initialization" of the parent router-outlet while navigating child routes inside? in Angular

I have a simple application with nested router-outlet and my question is how can i disable "re-initialization" of the parent router-outlet while navigating child routes inside?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source