Exposes total items

Exposes the totalItems in the response, it's something that should be present in the system by default.
This is not secure. We don't wan't to give $scope access to the callback method. Plus it is already in success handler. So no need for $success. Just change it to $scope.onDataLoadCallback(response)