MCPcopy Index your code
hub / github.com/angular/angular / $on

Method $on

packages/upgrade/src/common/src/angular1.ts:54–54  ·  view source on GitHub ↗
(event: string, fn?: (event?: any, ...args: any[]) => void)

Source from the content-addressed store, hash-verified

52 $root: IScope;
53 $watch(exp: Ng1Expression, fn?: (a1?: any, a2?: any) => void): Function;
54 $on(event: string, fn?: (event?: any, ...args: any[]) => void): Function;
55 $destroy(): any;
56 $apply(exp?: Ng1Expression): any;
57 $digest(): any;

Callers 6

upgrade.spec.tsFile · 0.65
initializeMethod · 0.65
setUpLocationSyncFunction · 0.65
constructorMethod · 0.65
bootstrapMethod · 0.65
registerCleanupMethod · 0.65

Implementers 1

mockScopepackages/upgrade/src/common/test/downg

Calls

no outgoing calls

Tested by

no test coverage detected