aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/compile.js3
-rw-r--r--src/ng/rootScope.js1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js
index 84d53e6d..13f8ae7e 100644
--- a/src/ng/compile.js
+++ b/src/ng/compile.js
@@ -420,6 +420,7 @@ function $CompileProvider($provide) {
(function(transcludeFn) {
return function(cloneFn) {
var transcludeScope = scope.$new();
+ transcludeScope.$$transcluded = true;
return transcludeFn(transcludeScope, cloneFn).
bind('$destroy', bind(transcludeScope, transcludeScope.$destroy));
@@ -725,6 +726,8 @@ function $CompileProvider($provide) {
lastValue,
parentGet, parentSet;
+ scope.$$isolateBindings[scopeName] = mode + attrName;
+
switch (mode) {
case '@': {
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js
index 9be37b9f..549517b6 100644
--- a/src/ng/rootScope.js
+++ b/src/ng/rootScope.js
@@ -137,6 +137,7 @@ function $RootScopeProvider(){
this.$$destroyed = false;
this.$$asyncQueue = [];
this.$$listeners = {};
+ this.$$isolateBindings = {};
}
/**