Interface IRootScopeService

Hierarchy

Index

Properties

Methods

Properties

public $$isolateBindings: any

public $$phase: any

public $id: string

public $parent: IScope

public $root: IRootScopeService

Methods

public $apply(): any

Returns

any

public $apply(exp: string): any

Parameters

  • exp: string

Returns

any

public $apply(exp: (scope: ng.IScope) => any): any

Parameters

  • exp: (scope: ng.IScope) => any

Returns

any

public $broadcast(name: string, args?: Array<any>): IAngularEvent

Parameters

  • name: string
  • args?: Array<any> optional

Returns

IAngularEvent

public $destroy()

public $digest()

public $emit(name: string, args?: Array<any>): IAngularEvent

Parameters

  • name: string
  • args?: Array<any> optional

Returns

IAngularEvent

public $eval(expression: string, args?: Object): any

Parameters

  • expression: string
  • args?: Object optional

Returns

any

public $eval(expression: (scope: ng.IScope) => any, args?: Object): any

Parameters

  • expression: (scope: ng.IScope) => any
  • args?: Object optional

Returns

any

public $evalAsync(expression: string)

Parameters

  • expression: string

public $evalAsync(expression: (scope: ng.IScope) => any)

Parameters

  • expression: (scope: ng.IScope) => any

public $new(isolate?: boolean): IScope

Parameters

  • isolate?: boolean optional

Returns

IScope

public $on(name: string, listener: (event: ng.IAngularEvent, ...args: any[]) => any): Function

Parameters

  • name: string
  • listener: (event: ng.IAngularEvent, ...args: any[]) => any

Returns

Function

public $watch(watchExpression: string, listener?: string, objectEquality?: boolean): Function

Parameters

  • watchExpression: string
  • listener?: string optional
  • objectEquality?: boolean optional

Returns

Function

public $watch(watchExpression: string, listener?: (newValue: any, oldValue: any, scope: ng.IScope) => any, objectEquality?: boolean): Function

Parameters

  • watchExpression: string
  • listener?: (newValue: any, oldValue: any, scope: ng.IScope) => any optional
  • objectEquality?: boolean optional

Returns

Function

public $watch(watchExpression: (scope: ng.IScope) => any, listener?: string, objectEquality?: boolean): Function

Parameters

  • watchExpression: (scope: ng.IScope) => any
  • listener?: string optional
  • objectEquality?: boolean optional

Returns

Function

public $watch(watchExpression: (scope: ng.IScope) => any, listener?: (newValue: any, oldValue: any, scope: ng.IScope) => any, objectEquality?: boolean): Function

Parameters

  • watchExpression: (scope: ng.IScope) => any
  • listener?: (newValue: any, oldValue: any, scope: ng.IScope) => any optional
  • objectEquality?: boolean optional

Returns

Function

public $watchCollection(watchExpression: string, listener: (newValue: any, oldValue: any, scope: ng.IScope) => any): Function

Parameters

  • watchExpression: string
  • listener: (newValue: any, oldValue: any, scope: ng.IScope) => any

Returns

Function

public $watchCollection(watchExpression: (scope: ng.IScope) => any, listener: (newValue: any, oldValue: any, scope: ng.IScope) => any): Function

Parameters

  • watchExpression: (scope: ng.IScope) => any
  • listener: (newValue: any, oldValue: any, scope: ng.IScope) => any

Returns

Function

public $watchGroup(watchExpressions: Array<any>, listener: (newValue: any, oldValue: any, scope: ng.IScope) => any): Function

Parameters

  • watchExpressions: Array<any>
  • listener: (newValue: any, oldValue: any, scope: ng.IScope) => any

Returns

Function

public $watchGroup(watchExpressions: Array<(scope: ng.IScope) => any>, listener: (newValue: any, oldValue: any, scope: ng.IScope) => any): Function

Parameters

  • watchExpressions: Array<(scope: ng.IScope) => any>
  • listener: (newValue: any, oldValue: any, scope: ng.IScope) => any

Returns

Function