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

Class Ng1ViewConfig

Hierarchy

  • Ng1ViewConfig

Implements

Index

Constructors

Properties

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

Methods

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

  • Gets the controller for a view configuration.

    Parameters

    Returns String | Function | Promise<Function | String>

    :

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


  • 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(): Promise<this>

Generated using TypeDoc