Host Elements and Host Metadata
Explain what the host element is and how a component can bind properties, attributes, classes, and listeners onto it.
Every component instance is attached to a real DOM element called the host element — the tag matching the component's selector that appears in the parent template. A component can't normally reach outside its own template to style or manipulate arbitrary parent markup, but it absolutely can control its own host element, and Angular exposes this through the host metadata property (or @HostBinding/@HostListener decorators, which compile down to the same mechanism).
A component is like a tenant who can freely decorate the outside of their own apartment door (the host element) — hang a wreath, add a nameplate, wire a doorbell — without being allowed to touch the building's hallway or other tenants' doors.