diff options
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/directive/ngInclude.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index f1c836f0..f6159813 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -110,7 +110,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile' $anchorScroll(); } - scope.$emit('$includeContentLoaded'); + childScope.$emit('$includeContentLoaded'); scope.$eval(onloadExp); }).error(function() { if (thisChangeId === changeCounter) clearContent(); |
