docs(anchorScroll): correct word "location"

This commit is contained in:
Murilo da Silva 2012-11-29 22:56:02 -02:00 committed by Pawel Kozlowski
parent d4e7274d4b
commit 4fe4e7457c

View file

@ -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() {