From 2fe5a2def026ac1aa63a98be7135b93784677129 Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Thu, 5 Sep 2013 22:10:45 -0400 Subject: docs($anchorScroll): fix example controller and style Changed controller name in example html to ScrollCtrl to match name in example js. Add styling to example html so scrollable area is not obtrusive to documentation page design. Closes #3898 --- src/ng/anchorScroll.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ng/anchorScroll.js') diff --git a/src/ng/anchorScroll.js b/src/ng/anchorScroll.js index a87995cf..263562bf 100644 --- a/src/ng/anchorScroll.js +++ b/src/ng/anchorScroll.js @@ -16,7 +16,7 @@ * @example -
+
Go to bottom You're at the bottom!
@@ -34,6 +34,11 @@ } + #scrollArea { + height: 350px; + overflow: auto; + } + #bottom { display: block; margin-top: 2000px; -- cgit v1.2.3