Angular components as template

How is it possible to pass an angular component rather than an html string as a template? For custom shape

Unfortunately there is no possibility to use the Angular component as a shape template.
Only the raw html-content can be used in this case.