scopes have $parent which are also scopes

scopes have $parent which are also scopes
This commit is contained in:
basarat committed 2013-07-17 22:12:07 +10:00
1 parent 708da5e9fe
commit 98a5df369c
1 file changed
+2
+2
View File
@@ -199,6 +199,8 @@ declare module ng {
$watch(watchExpression: string, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function;
$watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: bool): Function;
$watch(watchExpression: (scope: IScope) => any, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function;
$parent: IScope;
$id: number;
}