EK
Size: a a a
EK
DS
EK
DS
АМ
MyComponent
получить ComponentRef
компонента OtherComponent
? Я хочу из MyComponent
передать компонент OtherComponent
в сервис и кое-куда в другое место и там его аппендить в body, например.<my-component>
<other-component></other-component>
</my-component>
АМ
<my-component>
<ng-template #componentTemplate>
<other-component></other-component>
</ng-template>
</my-component>
АМ
TemplateRef
АМ
АМ
PD
PD
АД
OО
F
OО
OS
KA