Probably the main reason is that PrintComponent does not exist in the component tree, and it is not a child of AppComponent either, because you are trying to declare it as a dependency and changeDedection does not see it. Don't use components as dependencies, better create a service with getqr().