You can pass an existing component as content of the modal window. In this case, if you're still using Angular 8 or older, remember to add the content component in the entryComponents section of your NgModule. For Angular 9 or newer, it's not needed anymore.