feat(service.$autoScroll): scroll to hash fragment

- whenever hash part of the url changes
- after ng:view / ng:include load
This commit is contained in:
Vojta Jina
2011-11-15 11:56:13 -08:00
parent 29f9e2665d
commit 3548fe3139
7 changed files with 251 additions and 5 deletions

View File

@@ -75,7 +75,6 @@ function DocsController($location, $window, $cookies, $filter) {
scope.loading--;
scope.partialTitle = scope.futurePartialTitle;
SyntaxHighlighter.highlight();
$window.scrollTo(0,0);
$window._gaq.push(['_trackPageview', currentPageId]);
loadDisqus(currentPageId);
};