create angular user list (efficiently )

i wanted to create user list like this image given below
enter image description here

i use angular and bootstrap for the basic’s , my problem is , what if the users is more then 10k , what would be the efficient way to call recent user and how to handle the pagination and how to filter within huge number of user , if i call 10k long john i think it will be very heavy .

Here is my code to call users

$http.get('/users').success(function (data) {
        $scope.users = data.results;
        alert(data);
    }).error(function (data, status) {
        alert(status);
    });

I use mongodb and express.js


Source: html5

Leave a Reply