Is it possible to create generic dialog and inject different component into when is necessary.
In example I have dialog and injected component first-component:
<dialog>
<first-component></first-component>
</dialog>
Or if I want I can reuse dialog and inject another component:
<dialog>
<second-component></second-component>
</dialog>
Can we dod this in angular material?