SingletonThe class instance will be created only once and injector will return the same instance every time.@define()@singleton()export class FooController{} let fooController = injector.get<FooController>(FooController);let fooController2 = injector.get<FooController>('fooController'); console.log(fooController === fooController2) // true Copy