Say inside my.component.html
<nested-component [class]="nestedClass"></nested-component>
Then when I want to use my component, I want to specify both their style classes:
<my-component class="my-component-style" nestedClass="nested-component-style"></my-component>
The above did not work (i.e. the nested-component did not get assigned the style class .nested-component-style). How would you fix the code above? Other workarounds are welcome.