diff options
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js index 7754a8e6..af7d5e6b 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -1175,7 +1175,7 @@ function $CompileProvider($provide) { if (directiveValue = directive.transclude) { // Special case ngRepeat so that we don't complain about duplicate transclusion, ngRepeat // knows how to handle this on its own. - if (directiveName !== 'ngRepeat') { + if (directiveName !== 'ngRepeat' && directiveName !== 'ngIf') { assertNoDuplicate('transclusion', transcludeDirective, directive, $compileNode); transcludeDirective = directive; } |
