'ng-repeat' model value can't show immediately


hello,I’m a Chinese developer and began to learn ionic recently.I met a problem in my project as follow:

I did a function that when I scroll down to the bottom,the event listener would read data from local database and append data to the model value.but when I add values to a 'ng-repeat ’ model, I can’t drag the page to see the new values immediately until the scroll bar disappeared and I try to drag again.

Thank you for helping me.


What you need is this:

There you can specify a function, that is called if you nearly at the end of a page. and this function can load data from your database. No need to listen to an event and so on :wink:


thanks very much, help me a lot.:slight_smile: