display error messages

This commit is contained in:
Athou
2013-03-31 18:47:17 +02:00
parent a9e5c50b3f
commit 5994369e01
8 changed files with 34 additions and 6 deletions

View File

@@ -106,6 +106,7 @@ module.controller('FeedListCtrl', function($scope, $stateParams, $http, $route,
$scope.selectedId = $stateParams._id;
$scope.name = null;
$scope.message = null;
$scope.entries = [];
$scope.settingsService = SettingsService;
@@ -144,6 +145,7 @@ module.controller('FeedListCtrl', function($scope, $stateParams, $http, $route,
$scope.entries.push(data.entries[i]);
}
$scope.name = data.name;
$scope.message = data.message;
$scope.busy = false;
$scope.hasMore = data.entries.length == limit;
});