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 core/index defined in core/src/di/metadata.ts