Error message if the result is not found
This commit is contained in:
@@ -13,7 +13,7 @@ dashboardCtrl.controller('DashboardCtrl', ['$scope', '$rootScope', '$routeParams
|
||||
$scope.result = result;
|
||||
init();
|
||||
}, function(err) {
|
||||
alert('aie');
|
||||
$scope.error = true;
|
||||
});
|
||||
} else {
|
||||
$scope.result = $rootScope.loadedResult;
|
||||
|
||||
Reference in New Issue
Block a user