Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Example in live docs doesn't work due to typo, it's also ugly #3890

Closed
wants to merge 22 commits into from
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
848f011
Corrected error where MainCtrl should be ScrollCtrl
benlesh Sep 5, 2013
280ab2a
Added styling to prevent the scrollable area from looking huge.
benlesh Sep 5, 2013
3159c4a
Tweaked height a little on scroll area.
benlesh Sep 5, 2013
ccd7c36
docs($anchorScroll) change MainCtrl to ScrollCtrl
benlesh Sep 5, 2013
65fb747
Merge branch 'master' of https://github.com/blesh/angular.js
benlesh Sep 6, 2013
552d466
docs($anchorScroll) change MainCtrl to ScrollCtrl and add styling
benlesh Sep 5, 2013
61ddcf4
Merge branch 'master' of https://github.com/blesh/angular.js
benlesh Sep 6, 2013
edde729
chore(release): start 1.2.0-rc.3 ferocious-twitch iteration
IgorMinar Sep 4, 2013
8de89f4
chore(release): add script for comparing master and stable branches
btford Aug 10, 2013
b4169e9
docs(changelog): add a note about directives ending w/ -start and -end
IgorMinar Sep 4, 2013
6a3a991
docs($anchorScroll): provide an example of basic usage.
benlesh Sep 5, 2013
5030052
docs(): parameter for html5Mode is boolean
petebacondarwin Sep 5, 2013
b9251ec
docs(bootstrap.ngdoc): clarify bootstrap example
CalvinFernandez Aug 24, 2013
e1b2007
docs(angular.bootstrap): clarify modules parameter
petebacondarwin Sep 5, 2013
17a6215
docs(css_styling_guide): add ng-scope and ng-binding classes
chronick Sep 5, 2013
5084356
docs(booleanAttrs): improve parameter docs for boolean attributes
jamesdaily Sep 5, 2013
c061fe4
docs(tutorial): clarify use of inject() in step 9
petebacondarwin Sep 5, 2013
dfae0e7
docs(tutorial): fix markup for tutorial_04.png diagram
twil Aug 22, 2013
d752b2f
docs(tutorial): fix markup for tutorial_03.png diagram
twil Aug 22, 2013
ed34309
docs(mock.inject): document underscore wrapping syntax
jasonm23 Aug 16, 2013
2d8e15a
docs($anchorScroll) change MainCtrl to ScrollCtrl and add styling
benlesh Sep 5, 2013
0aa20d8
Merge branch 'master' of https://github.com/blesh/angular.js
benlesh Sep 6, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/ng/anchorScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @example
<example>
<file name="index.html">
<div ng-controller="MainCtrl">
<div ng-controller="ScrollCtrl" class="scroll-area">
<a ng-click="gotoBottom()">Go to bottom</a>
<a id="bottom"></a> You're at the bottom!
</div>
Expand All @@ -34,6 +34,10 @@
}
</file>
<file name="style.css">
.scroll-area {
height: 350px;
overflow: auto;
}
#bottom {
display: block;
margin-top: 2000px;
Expand Down