From 5eb1fb6cb2c5a1c036e50ea791fd74ddf9016be0 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Fri, 20 Sep 2013 11:04:37 -0700 Subject: 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 --- src/ng/directive/ngInclude.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ng/directive/ngInclude.js') 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) { -- cgit v1.2.3