Top "Router-outlet" questions

Use it for questions about the angular 2 or 4 router-outlet element.

can eventEmitter work on router-outlet?

I have in my parent component, where I want to detect the emitted event. child.component.ts @Component({ selector: 'child-component', …

angular eventemitter router-outlet
Why is <app-root> rendering another <app-root> within it, which contains my routed component?

I have a lazy-loaded, multi-module Angular 7.2.2 application that seems to be creating a copy of the main AppComponent's template within …

angular typescript router-outlet