Ng1ViewConfig | @uirouter/angularjs
Options
Menu

Class Ng1ViewConfig

Hierarchy

  • Ng1ViewConfig

Implements

  • ViewConfig

Index

Constructors

Properties

$id: number = id++
component: string
controller: Function
loaded: boolean = false
locals: any
path: PathNode[]
template: string

Methods

  • getController(context: ResolveContext): IInjectable | string | Promise<IInjectable | string>
  • Gets the controller for a view configuration.

  • Gets the controller for a view configuration.

    Parameters

    • context ResolveContext

    Returns IInjectable | string | Promise<IInjectable | string>

    :

    Returns a controller, or a promise that resolves to a controller.


  • getTemplate(uiView: any, context: ResolveContext): string
  • Parameters

    • uiView any
    • context ResolveContext

    Returns string


  • load(): Promise<this>
  • Returns Promise<this>


Generated using TypeDoc