aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatias Niemelä2013-08-30 09:39:08 -0400
committerMisko Hevery2013-09-03 17:06:49 -0700
commit40c0220c47c620070b30aec6ec4552c68a8689eb (patch)
tree30cbf41f0866ae412606b9fab199c03d4e8d8b96 /src
parent36ad40b18cfdd0690411a5169aa94e222946b5cf (diff)
downloadangular.js-40c0220c47c620070b30aec6ec4552c68a8689eb.tar.bz2
fix(ngView): ensure ngClass works with together with ngView's transclusion behavior
Closes: #3727
Diffstat (limited to 'src')
-rw-r--r--src/ngRoute/directive/ngView.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js
index 3b97367c..d67d8a76 100644
--- a/src/ngRoute/directive/ngView.js
+++ b/src/ngRoute/directive/ngView.js
@@ -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) {