Angular

What it does

Specifies that an Injector should retrieve a dependency only from itself.

How to use

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

Description

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