browse other examples

Reload with parameter

Here we provide an ability to reload the datasource to some specified position. First you need an adapter defined on your scope:
<div ui-scroll="item in datasource" adapter="myAdapter">{{item}}</div>
Then just call the reload method on the adapter with index parameter:
$scope.myAdapter.reload(100);
- index to reload
{{item}}