How to provide data to ComponentPortal using Dependency injection
Some time ago I published a video that in detail showed how to use the Angular CDK Portal module and in which use cases it might be useful. Almost immediately in the comments, I got a question: “How to provide data to the ComponentPortal factory?”. Fair enough! This is indeed a good question and in