I want to create the following component:
<my-component [attr1]="attr1" [attr2]="attr2">
</my-component>  
This is fine, but I want in this component to render any kind of template, so I need something like this:
<my-component [attr1]="attr1" [attr2]="attr2">
    <my-component-template>
        // Here comes the template for my-component component
    </my-component-template>
</my-component>  
Any sample of how to do this? I couldn't find any reference.
 
     
    