From 59d9b89852805ad08e8e3bc2f80625b9697dc768 Mon Sep 17 00:00:00 2001 From: Murilo da Silva Date: Thu, 29 Nov 2012 22:56:02 -0200 Subject: docs(anchorScroll): correct word "location" --- src/ng/anchorScroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ng/anchorScroll.js') diff --git a/src/ng/anchorScroll.js b/src/ng/anchorScroll.js index 87867589..0ddc9c78 100644 --- a/src/ng/anchorScroll.js +++ b/src/ng/anchorScroll.js @@ -53,7 +53,7 @@ function $AnchorScrollProvider() { } // does not scroll when user clicks on anchor link that is currently on - // (no url change, no $locaiton.hash() change), browser native does scroll + // (no url change, no $location.hash() change), browser native does scroll if (autoScrollingEnabled) { $rootScope.$watch(function autoScrollWatch() {return $location.hash();}, function autoScrollWatchAction() { -- cgit v1.2.3