GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing angular.dev — Injector • Angular Retrieves an instance from the injector based on the provided token. @paramnotFoundValue undefined@returns TThe instance from the injector if defined, otherwise the Retrieves an instance from the injector based on the provided token. @paramnotFoundValue null | undefined@returns T | nullThe instance from the injector if defined, otherwise the Retrieves an instance from the injector based on the provided token. @paramnotFoundValue T | undefined@returns TThe instance from the injector if defined, otherwise the @deprecated from v4.0.0 use ProviderToken @paramnotFoundValue any@returns any@deprecated from v5 use the new signature Injector.create(options) @returns InjectorCreates a new injector instance that provides one or more dependencies,
according to a given type or types of @paramoptions { providers: (any[] | TypeProvider | ValueProvider | ClassProvider | ConstructorProvider | ExistingProvider | FactoryProvider | StaticClassProvider)[]; parent?: Injector | undefined; name?: string | undefined; }An object with the following properties:
Usage NotesThe following example creates a service injector instance.
Usage example |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |