From 4fe4e7457cbc199d5082501c0c55c435801cdcb8 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(-) 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