Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IInjectorService

Hierarchy

  • IInjectorService

Index

Properties

Methods

Properties

strictDi

strictDi: boolean

Methods

annotate

  • annotate(fn: Function, strictDi?: boolean): string[]
  • annotate(inlineAnnotatedFunction: any[]): string[]
  • Parameters

    • fn: Function
    • Optional strictDi: boolean

    Returns string[]

  • Parameters

    • inlineAnnotatedFunction: any[]

    Returns string[]

get

  • Type parameters

    • T

    Parameters

    • name: string
    • Optional caller: string

    Returns T

  • Parameters

    • name: "$anchorScroll"

    Returns IAnchorScrollService

  • Parameters

    • name: "$cacheFactory"

    Returns ICacheFactoryService

  • Parameters

    • name: "$compile"

    Returns ICompileService

  • Parameters

    • name: "$controller"

    Returns IControllerService

  • Parameters

    • name: "$document"

    Returns IDocumentService

  • Parameters

    • name: "$exceptionHandler"

    Returns IExceptionHandlerService

  • Parameters

    • name: "$filter"

    Returns IFilterService

  • Parameters

    • name: "$http"

    Returns IHttpService

  • Parameters

    • name: "$httpBackend"

    Returns IHttpBackendService

  • Parameters

    • name: "$httpParamSerializer"

    Returns IHttpParamSerializer

  • Parameters

    • name: "$httpParamSerializerJQLike"

    Returns IHttpParamSerializer

  • Parameters

    • name: "$interpolate"

    Returns IInterpolateService

  • Parameters

    • name: "$interval"

    Returns IIntervalService

  • Parameters

    • name: "$locale"

    Returns ILocaleService

  • Parameters

    • name: "$location"

    Returns ILocationService

  • Parameters

    • name: "$log"

    Returns ILogService

  • Parameters

    • name: "$parse"

    Returns IParseService

  • Parameters

    • name: "$q"

    Returns IQService

  • Parameters

    • name: "$rootElement"

    Returns IRootElementService

  • Parameters

    • name: "$rootScope"

    Returns IRootScopeService

  • Parameters

    • name: "$sce"

    Returns ISCEService

  • Parameters

    • name: "$sceDelegate"

    Returns ISCEDelegateService

  • Parameters

    • name: "$templateCache"

    Returns ITemplateCacheService

  • Parameters

    • name: "$templateRequest"

    Returns ITemplateRequestService

  • Parameters

    • name: "$timeout"

    Returns ITimeoutService

  • Parameters

    • name: "$window"

    Returns IWindowService

  • Type parameters

    • T

    Parameters

    • name: "$xhrFactory"

    Returns IXhrFactory<T>

has

  • has(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

instantiate

  • instantiate<T>(typeConstructor: Function, locals?: any): T
  • Type parameters

    • T

    Parameters

    • typeConstructor: Function
    • Optional locals: any

    Returns T

invoke

  • invoke(inlineAnnotatedFunction: any[]): any
  • invoke(func: Function, context?: any, locals?: any): any
  • Parameters

    • inlineAnnotatedFunction: any[]

    Returns any

  • Parameters

    • func: Function
    • Optional context: any
    • Optional locals: any

    Returns any

Generated using TypeDoc