diff options
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/ng/compile.js b/src/ng/compile.js index 1bc059b3..a4e44f01 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -816,8 +816,9 @@ function $CompileProvider($provide) {          if (directiveValue = directive.transclude) {            assertNoDuplicate('transclusion', transcludeDirective, directive, $compileNode);            transcludeDirective = directive; -          terminalPriority = directive.priority; +            if (directiveValue == 'element') { +            terminalPriority = directive.priority;              $template = groupScan(compileNode, attrStart, attrEnd)              $compileNode = templateAttrs.$$element =                  jqLite(document.createComment(' ' + directiveName + ': ' + templateAttrs[directiveName] + ' ')); | 
