<ion-item ng-repeat="item in debtrow | limitTo:10">
Otherwise you could also use ionic collectionRepeat, see the documentation on how to use. Is that what you are looking for?
If nothing of this helps you, please specify how you want to use it in your HTML!
in end perpage is passing i need to do this dynamic or i need a option to load all data from web service then show only 10 records ,then when user scroll down i willl load another 10 records like load more…
But since your have per page limit of of 1000;
There is not point having this in your loadMore function
You can set your $scope,items = data.DebtorSynchronizationResult; outside your loadmore function and change the limit of your ng-repeat when you want to loadmore
Unless i am getting your question wrong.
If you are reading your object in smaller limits then you can use array push to push more items in your scope.
i understand now, so how i do pagination from webservice. what i think if i will store 1000 data then when i show it will load only 10 records on load more another 10 will show…
An example would be to have a var for your page number like below and increment that page number every time you want go next page and fetch more
var page = 1;
var debturl='http://tmcs.no-ip.info:83/iAutoCount/Debtor.svc/json/DebtorSynchronization? dbName=5bvq9pq8EokHTf+uB/yLD61bh48juTfB/Up19EK4bks=&uDId=iKNColFa+oztAVriouDfvMpoNDwsYn9H4aJxSVWFIWpqyPnE1k47C5VUkpntIVPr&isFullSync=true&lastUpdate=1413788985&pageNo=page&perPage=1000'