angular.io
angular.io copied to clipboard
How does that work "component can declare that it is the "host" component."
https://angular.io/docs/ts/latest/guide/hierarchical-dependency-injection.html
There's a third possibility. An intermediate component can declare that it is the "host" component. The hunt for providers will climb no higher than the injector for this host component. We'll reserve discussion of this option for another day.
I have never seen this mentioned anywhere before. What does it mean? How can a component declare itself a host component?