diff options
| -rwxr-xr-x | src/ng/directive/ngIf.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngInclude.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngSwitch.js | 4 | ||||
| -rw-r--r-- | src/ngRoute/directive/ngView.js | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/ng/directive/ngIf.js b/src/ng/directive/ngIf.js index 005dda8e..2212e762 100755 --- a/src/ng/directive/ngIf.js +++ b/src/ng/directive/ngIf.js @@ -80,7 +80,7 @@ var ngIfDirective = ['$animate', function($animate) { return { transclude: 'element', - priority: 1000, + priority: 600, terminal: true, restrict: 'A', compile: function (element, attr, transclude) { diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 450677e1..b2ebeda9 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -152,7 +152,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile' function($http, $templateCache, $anchorScroll, $compile, $animate, $sce) { return { restrict: 'ECA', - priority: 1000, + priority: 400, terminal: true, transclude: 'element', compile: function(element, attr, transclusion) { diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 34f571ce..8087390a 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -165,7 +165,7 @@ var ngSwitchDirective = ['$animate', function($animate) { var ngSwitchWhenDirective = ngDirective({ transclude: 'element', - priority: 500, + priority: 800, require: '^ngSwitch', compile: function(element, attrs, transclude) { return function(scope, element, attr, ctrl) { @@ -177,7 +177,7 @@ var ngSwitchWhenDirective = ngDirective({ var ngSwitchDefaultDirective = ngDirective({ transclude: 'element', - priority: 500, + priority: 800, require: '^ngSwitch', compile: function(element, attrs, transclude) { return function(scope, element, attr, ctrl) { diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js index 27357962..b031281d 100644 --- a/src/ngRoute/directive/ngView.js +++ b/src/ngRoute/directive/ngView.js @@ -176,7 +176,7 @@ function ngViewFactory( $route, $anchorScroll, $compile, $controller, return { restrict: 'ECA', terminal: true, - priority: 1000, + priority: 400, transclude: 'element', compile: function(element, attr, linker) { return function(scope, $element, attr) { |
