Server Paging (Simple)

Just imagine, server returns JSON, that contains such information:
data: array of objects
page: current number page
limit: the amount of items on the page
total: the total amount of objects (to calculate the number of pages).

Example


In template:

In controller:


Server Paging (Advanced)

Loading Data...

In template:

In controller: