Merge pull request #2382 from smrq/master

angular: Add isolateScope() to jqLite
This commit is contained in:
Basarat Ali Syed
2014-06-22 23:11:06 +10:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -223,6 +223,7 @@ foo.then((x) => {
// angular.element() tests
var element = angular.element("div.myApp");
var scope: ng.IScope = element.scope();
var isolateScope: ng.IScope = element.isolateScope();
+1
View File
@@ -969,6 +969,7 @@ declare module ng {
controller(name: string): any;
injector(): any;
scope(): IScope;
isolateScope(): IScope;
inheritedData(key: string, value: any): JQuery;
inheritedData(obj: { [key: string]: any; }): JQuery;