}, function(err) {
                $scope.state.kinesis.loading = false;
                $scope.status = "An error has occurred, could not load data from the service.";
                $scope.$apply();
            });