diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 1187c7338748..87b1f983d80e 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -172,7 +172,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile' $compile(contents)(childScope); if (isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) { - $anchorScroll(); + scope.$evalAsync($anchorScroll); } childScope.$emit('$includeContentLoaded');