angular: Add isolateScope() to jqLite

This commit is contained in:
Greg Smith
2014-06-20 10:56:38 -05:00
parent b2e96a4246
commit 666233c5a0
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;