Injector

Stable

Class

What it does

Injector interface

How to use

const injector: Injector = ...; injector.get(...);

Class Overview

class Injector {
static THROW_IF_NOT_FOUND : _THROW_IF_NOT_FOUND
static NULL : Injector
get(token: any, notFoundValue?: any) : any

}

Class Description

Static Members

Class Details

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