So, I want to pass a template to the component and render this template inside with style applied from this component, not from the calling component. Is it any way to do this without setting ViewEncapsulation.None
?
I made a small stackblitz for that. I want param button
also rendered green.
https://stackblitz.com/edit/angular-zrpufe?file=src%2Fapp%2Fhello.component.ts