Hello I want to create a custom dialog component and I want to insert it content on a declarative way, should look like this:
app.action.dialog.component.ts:
I correctly understand your question (provide some content to another component), I think that you could leverage ng-content:
ng-content
@Component({ selector: 'field', template: ` ` }) export class FormFieldComponent { (...) }
and use the component like that:
Hope it hepls you, Thierry