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

Class Ng1ViewConfig

Hierarchy

  • Ng1ViewConfig

Implements

Index

Constructors

Properties

controller: Function
loaded: boolean
locals: any
node: Node
template: string

Methods

  • getController(injector: ResolveContext): Promise<any> | Function | string
  • Gets the controller for a view configuration.

  • Gets the controller for a view configuration.

    Parameters

    Returns Promise<any> | Function | string

    :

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


  • getTemplate(params: any, $factory: any, injector: ResolveContext): any
  • hasTemplate(): boolean
  • Checks a view configuration to ensure that it specifies a template.

  • Checks a view configuration to ensure that it specifies a template.

    Returns boolean

    :

    Returns true if the configuration contains a valid template, otherwise false.


  • load(): any

Generated using TypeDoc