mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
fix(ngView): ensure ngClass works with together with ngView's transclusion behavior
Closes: #3727
This commit is contained in:
committed by
Misko Hevery
parent
36ad40b18c
commit
40c0220c47
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user