resolve | ui-router-ng2
Options
Menu

Module resolve

The Resolve subsystem

This subsystem is an asynchronous, hierarchical Dependency Injection system.

Typically, resolve is configured on a state using a StateDeclaration.resolve declaration.

Index

Type aliases

PolicyAsync: "WAIT" | "NOWAIT" | "RXWAIT"
PolicyWhen: "LAZY" | "EAGER"

Variables

ALL_WHENS: Array<string> = [when.EAGER, when.LAZY]
EAGER_WHENS: Array<string> = [when.EAGER]
NATIVE_INJECTOR_TOKEN: "Native Injector" = "Native Injector"
when: object = resolvePolicies.when

Type declaration

  • EAGER: string
  • LAZY: string

Object literals

defaultResolvePolicy: object
async: string = "WAIT"
when: string = "LAZY"
resolvePolicies: object
async: object
NOWAIT: string = "NOWAIT"
RXWAIT: string = "RXWAIT"
WAIT: string = "WAIT"
when: object
EAGER: string = "EAGER"
LAZY: string = "LAZY"

Generated using TypeDoc