diff options
Diffstat (limited to 'src/ng/anchorScroll.js')
| -rw-r--r-- | src/ng/anchorScroll.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/anchorScroll.js b/src/ng/anchorScroll.js index 5c5a0387..e8c8ecd1 100644 --- a/src/ng/anchorScroll.js +++ b/src/ng/anchorScroll.js @@ -15,7 +15,7 @@ * * It also watches the `$location.hash()` and scrolls whenever it changes to match any anchor. * This can be disabled by calling `$anchorScrollProvider.disableAutoScrolling()`. - * + * * @example <example> <file name="index.html"> @@ -30,7 +30,7 @@ // set the location.hash to the id of // the element you wish to scroll to. $location.hash('bottom'); - + // call $anchorScroll() $anchorScroll(); }; |
