aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/compile.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/compile.js')
-rw-r--r--src/ng/compile.js3
1 files changed, 3 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 '@': {