angular/angular.js — pull request #2639 by torgeir (2013-05-11 14:14:36+00:00)
Title: Delay $anchorScroll() to handle `autoscroll` for nested ng-includes. 

This resolves an issue where the contents of an `ng-include` also contain an ng-include with autoscroll, like this `

`.

In issue #2637 the element to scroll to by using `#some-anchor-name` in the url, e.g. ``, is not present in the dom by the time `$anchorScroll()` is called from the ngIncludeDirective.