I am able to inject the parent component in a child component but isn’t DI just meant for injecting services? Why is this allowed and what are the possible classes which i can inject in a component?
I have seen at places we can inject component in a directive. This confuses me alot.
Can someone please put some light on this?