The trNgGrid provides the full set of directives for server-side sorting and paging features. We just need to add the tr-ng-grid directive with an empty value into a table element and then configure the other directives with appropriate values. The pagination-related directives are: