fix(ngView): ensure ngClass works with together with ngView's transclusion behavior

Closes: #3727
This commit is contained in:
Matias Niemelä
2013-08-30 09:39:08 -04:00
committed by Misko Hevery
parent 36ad40b18c
commit 40c0220c47
2 changed files with 41 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ function ngViewFactory( $route, $anchorScroll, $compile, $controller,
return {
restrict: 'ECA',
terminal: true,
priority: 1000,
transclude: 'element',
compile: function(element, attr, linker) {
return function(scope, $element, attr) {