425 Views
The idea here is to have a single modal component at app.component level, control and inject templates to it using a custom service. This is a basic modal setup. The important part here is: Where cdkPortalOutlet is a directive that creates a slot where we'll dynamically attach templates to it.
0 comments