Host Property
You can use host property to add class to the host of component.
This article explains what host element is and how it works.
Host Element.
When Angular renders component, template is wrapped by host an element.
Example
@Component({
selector: ‘app-component’,
template: `
…