Skip to content

Commit 7daeac2

Browse files
committed
Update README.md
1 parent acef6b5 commit 7daeac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ angular.module("app").controller("MyCtrl", function () {
4444
If need just specify atribute scroll-always-top. For example, good thing for custom autocomplete list.
4545

4646
```
47-
<input type="text" ng-model="item" />
48-
<div scroll-pane scroll-config="paneConfig" id="myScrollPane" scroll-always-top="{{item}}">
47+
<input type="text" ng-model="someText" />
48+
<div scroll-pane scroll-config="paneConfig" id="myScrollPane" scroll-always-top="{{someText}}">
4949
<div ng-repeat="item in items track by $index">
5050
<span>{{item}}</span>
5151
</div>

0 commit comments

Comments
 (0)