Merge pull request #779 from basarat/patch-5

scopes have $parent which are also scopes
This commit is contained in:
Boris Yankov
2013-07-17 08:25:50 -07:00

View File

@@ -200,6 +200,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;
}