diff options
| author | Brian Ford | 2013-09-20 11:04:37 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-09-20 14:11:12 -0700 | 
| commit | 5eb1fb6cb2c5a1c036e50ea791fd74ddf9016be0 (patch) | |
| tree | ff530d90610841a7345a035c3034b90f58869985 /src/ng/directive/ngInclude.js | |
| parent | 255e8c13cf0fd78f1c4d7c279be7bf47c2402956 (diff) | |
| download | angular.js-5eb1fb6cb2c5a1c036e50ea791fd74ddf9016be0.tar.bz2 | |
fix(ngInclude): don't break attribute bindings on ngInclude-ed element
BREAKING CHANGE: ngInclude's priority is now set to 1000
It's quite rare for anyone to depend on explicity directive priority,
but if a custom directive that needs to run before ngInclude exists,
it should have its priority checked and adjusted if needed.
Closes #3793
Diffstat (limited to 'src/ng/directive/ngInclude.js')
| -rw-r--r-- | src/ng/directive/ngInclude.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 0f1f245c..ccb26bab 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -153,6 +153,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile'                    function($http,   $templateCache,   $anchorScroll,   $compile,   $animate,   $sce) {    return {      restrict: 'ECA', +    priority: 1000,      terminal: true,      transclude: 'element',      compile: function(element, attr, transclusion) { | 
