|
@@ -13,7 +13,7 @@ angular.module('luticate')
|
13
|
13
|
|
14
|
14
|
$scope.loadPage = function(page)
|
15
|
15
|
{
|
16
|
|
- luticateAuthUsers.getAll({page: $scope.page, perPage: $scope.perPage}, promiseUsers)
|
|
16
|
+ luticateAuthUsers.getAll({page: page, perPage: $scope.perPage}, promiseUsers)
|
17
|
17
|
.then(function(users)
|
18
|
18
|
{
|
19
|
19
|
$scope.page = page;
|
|
@@ -29,5 +29,10 @@ angular.module('luticate')
|
29
|
29
|
});
|
30
|
30
|
};
|
31
|
31
|
|
|
32
|
+ $scope.displayUser = function(user)
|
|
33
|
+ {
|
|
34
|
+ console.log(user);
|
|
35
|
+ };
|
|
36
|
+
|
32
|
37
|
$scope.loadPage($scope.page);
|
33
|
38
|
}]);
|