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