From 4fee1ee153c9ba43f1102aa5592aa68e53ac8298 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Wed, 2 Dec 2015 12:24:26 -0800 Subject: [PATCH] [Representation] Do isolate mct-include's scope ...even though we are not using this to pass any state from attributes inward. --- platform/representation/src/MCTInclude.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/representation/src/MCTInclude.js b/platform/representation/src/MCTInclude.js index 16d322dde7..25b2eb7b5f 100644 --- a/platform/representation/src/MCTInclude.js +++ b/platform/representation/src/MCTInclude.js @@ -100,7 +100,10 @@ define( link: link, // May hide the element, so let other directives act first - priority: -1000 + priority: -1000, + + // Isolate this scope; do not inherit properties from parent + scope: {} }; }