Angular Dynamic Component in Material Dialog
Base image by Peggy und Marco Lachmann-Anke from Pixabay How can you inject a dynamic, lazy-loaded component into a Material Dialog at runtime? First, let me say that this might be overkill in many cases. Basic OO can often solve this kind of problem. But if you need to lazy-load a component at runtime and show that …