Support controllerAs syntax to paginate data?
You are iterating over incorrect property demo.data. ng-table creates own scope with paginated properties. Change "user in demo.data" to "user in $data" and it will work.
Ok, I understand thar ng-table create own scope, but i'm new in Angular, what is "**$**data"? why not "data"? (and setted in the controller scope).
data - is created by you, and not held by ng-table. Ng-table creates own scope and add "spatial" scope properties like $data, $columns etc. Ng-table operates only with this properties, not yours. $data contains paginated and filtered objects, which was got from getData method.
Thanks!