Added args param to scope.$eval

This commit is contained in:
Georgios Diamantopoulos
2013-10-31 15:59:20 +02:00
parent 934e166b17
commit 793b8296f2

View File

@@ -215,8 +215,8 @@ declare module ng {
$emit(name: string, ...args: any[]): IAngularEvent;
// Documentation says exp is optional, but actual implementaton counts on it
$eval(expression: string): any;
$eval(expression: (scope: IScope) => any): any;
$eval(expression: string, args?: Object): any;
$eval(expression: (scope: IScope) => any, args?: Object): any;
// Documentation says exp is optional, but actual implementaton counts on it
$evalAsync(expression: string): void;