angular's $anchorScroll can be called with an optional has parameter ~ see https://code.angularjs.org/1.4.1/docs/api/ng/service/$anchorScroll

This commit is contained in:
James Keller
2015-07-01 22:42:50 -06:00
parent 4ba73ef59f
commit 12a6d207e4

View File

@@ -1064,6 +1064,7 @@ declare module angular {
///////////////////////////////////////////////////////////////////////////
interface IAnchorScrollService {
(): void;
(hash: string): void;
yOffset: any;
}