ng1 | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

External module ng1

UI-Router for Angular 1

  • Provides an implementation for the CoreServices API, based on angular 1 services.
  • Also registers some services with the angular 1 injector.
  • Creates and bootstraps a new UIRouter object. Ties it to the the angular 1 lifecycle.

Index

Variables

router: UIRouter

Functions

  • $ViewScrollProvider(): void
  • ngdoc

    object

    name

    ui.router.state.$uiViewScrollProvider

    description

    Provider that returns the {@link ui.router.state.$uiViewScroll} service function.

    Returns void


  • $stateParamsFactory(ng1UIRouter: any): any
  • annotateController(controllerExpression: any): string[]
  • Annotates a controller expression (may be a controller function(), a "controllername", or "controllername as name")

  • Annotates a controller expression (may be a controller function(), a "controllername", or "controllername as name")

    • Temporarily decorates $injector.instantiate.
    • Invokes $controller() service
      • Calls $injector.instantiate with controller constructor
    • Annotate constructor
    • Undecorate $injector

    returns an array of strings, which are the arguments of the controller expression

    Parameters

    • controllerExpression: any

    Returns string[]


  • getBindings(def: any): any
  • getComponentInputs($injector: any, name: any): any
  • ng1UIRouter($locationProvider: any): void
  • This angular 1 provider instantiates a Router and exposes its services via the angular injector

  • This angular 1 provider instantiates a Router and exposes its services via the angular injector

    Parameters

    • $locationProvider: any

    Returns void


  • resolveFactory(): object
  • Returns object

    • resolve: function
      • resolve(invocables: any, locals?: object, parent?: any): any
      • This emulates most of the behavior of the ui-router 0.2.x $resolve.resolve() service API.

      • This emulates most of the behavior of the ui-router 0.2.x $resolve.resolve() service API.

        Parameters

        • invocables: any
          :

          an object, with keys as resolve names and values as injectable functions

        • locals Default value: object = {}
          :

          key/value pre-resolved data (locals)

        • parent Optional: any
          :

          a promise for a "parent resolve"

        Returns any



  • runBlock($injector: any, $q: any): void
  • scopeBindings(bindingsObj: any): Array<object>
  • watchDigests($rootScope: any): void

Generated using TypeDoc