I have a component that is created with a route and this component has an Output EventEmitter. How can I subscribe to this Output if the component was created on routing?
The component is created like this:
{ path: 'component-A',
component: ComponentAComponent
}