diff options
| author | Tobias Bosch | 2013-12-10 16:46:29 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2013-12-12 17:18:44 -0800 | 
| commit | 30a8b7d0b5d4882c2bf3b20eb696a02f5b667726 (patch) | |
| tree | 0c40067e5142a8a1dc71df8b03b39fb3e05b2878 /src/AngularPublic.js | |
| parent | f8944efe70b81e02704df9b53ea2546c80c73d3b (diff) | |
| download | angular.js-30a8b7d0b5d4882c2bf3b20eb696a02f5b667726.tar.bz2 | |
fix(ngInclude): Add template to DOM before linking other directives
The template needs to be added to the DOM before
other directives at the same element as `ngInclude` are linked.
Fixes #5247.
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/AngularPublic.js b/src/AngularPublic.js index d2c325c5..14fe25ae 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -28,6 +28,7 @@      ngHideDirective,      ngIfDirective,      ngIncludeDirective, +    ngIncludeFillContentDirective,      ngInitDirective,      ngNonBindableDirective,      ngPluralizeDirective, @@ -181,6 +182,9 @@ function publishExternalAPI(angular){              ngRequired: requiredDirective,              ngValue: ngValueDirective          }). +        directive({ +          ngInclude: ngIncludeFillContentDirective +        }).          directive(ngAttributeAliasDirectives).          directive(ngEventDirectives);        $provide.provider({ | 
