In the Angular docs' usage notes for ViewContainerRef I just don't get the statement inject(ViewContainerRef).
I'm pretty new to Angular and trying to find my way through the djungle of deprecated resources just to find the official docs inject something that in my understanding used to be only retrievable from a @viewChild.
I even tried implementing this approach but it won't work because I would have to provide ViewContainerRef in ngModule which in turn is not getting accepted by angular. Maybe because I'm not using standalone components? Or do I miss out on some fundamental angular concept? Please enlighten me!