"providers" | @uirouter/angular
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "providers"

Index

Variables

Const UIROUTER_PROVIDERS

UIROUTER_PROVIDERS: Provider[] = _UIROUTER_INSTANCE_PROVIDERS.concat(_UIROUTER_SERVICE_PROVIDERS)

The UI-Router providers, for use in your application bootstrap

deprecated

use UIRouterModule.forRoot

Const _UIROUTER_INSTANCE_PROVIDERS

_UIROUTER_INSTANCE_PROVIDERS: Provider[] = [{provide: UIRouter,useFactory: uiRouterFactory,deps: [LocationStrategy, UIROUTER_ROOT_MODULE, UIROUTER_MODULE_TOKEN, Injector],},{ provide: UIView.PARENT_INJECT, useFactory: parentUIViewInjectFactory, deps: [StateRegistry] },{ provide: APP_INITIALIZER, useFactory: appInitializer, deps: [UIRouter], multi: true },]

Const _UIROUTER_SERVICE_PROVIDERS

_UIROUTER_SERVICE_PROVIDERS: Provider[] = [{ provide: StateService, useFactory: fnStateService, deps: [UIRouter] },{ provide: TransitionService, useFactory: fnTransitionService, deps: [UIRouter] },{ provide: UrlMatcherFactory, useFactory: fnUrlMatcherFactory, deps: [UIRouter] },{ provide: UrlRouter, useFactory: fnUrlRouter, deps: [UIRouter] },{ provide: UrlService, useFactory: fnUrlService, deps: [UIRouter] },{ provide: ViewService, useFactory: fnViewService, deps: [UIRouter] },{ provide: StateRegistry, useFactory: fnStateRegistry, deps: [UIRouter] },{ provide: UIRouterGlobals, useFactory: fnGlobals, deps: [UIRouter] },]

Functions

appInitializer

  • appInitializer(router: UIRouter): (Anonymous function)

fnGlobals

  • fnGlobals(r: any): any

fnStateRegistry

fnStateService

fnTransitionService

fnUrlMatcherFactory

fnUrlRouter

fnUrlService

fnViewService

parentUIViewInjectFactory

  • parentUIViewInjectFactory(r: StateRegistry): ParentUIViewInject

uiRouterFactory

  • This is a factory function for a UIRouter instance

    Creates a UIRouter instance and configures it for Angular, then invokes router bootstrap. This function is used as an Angular useFactory Provider.

    Parameters

    Returns UIRouter

Generated using TypeDoc