0

I was wondering if there is a way to render dynamic component with in dynamic component?

<parent-comp>
   <child-1>
    <child-1.1></child-1.1>
    <child-1.2></child-1.2>
   </child-1>
</parent-comp>

Above is a kind of representation which I have to achieve. this is what I am following to do, while looking into it, with in the dynamic-component.ts to the template :

<div #dynamicComponentContainer></div>

is where the dynamic component being created.

I am trying to acheive something like :

<div #dynamicComponentContainer>
     <div #dynamicComponentContainer>
     </div>
</div>

A parent-child for dynamic component itself. Can some one give me suggestion on onto achieve it?

peaceUser
  • 457
  • 5
  • 19

0 Answers0