Search code examples
angularjsngtable

ngTableParams parameter "page" is number, why it must be a "page()" in getdata


This GitHub "Configurating your table with ngTableParams" clearly defines "page" of parameters is type number. However, its use in getdata becomes ".page()", a function.

Does anyone know why?


Solution

  • Believe this is the ROOT of the answer even though it's for Knockout:

    enter image description here