Angular

What it does

Specifies that an injector should retrieve a dependency from any injector until reaching the host element of the current component.

How to use

@Injectable() class Car { constructor(@Host() public engine:Engine) {} }

Description

exported from @angular/core/index defined in @angular/core/src/di/metadata.ts