OpenIZ.App.getAlertsAsync({
id: $stateParams.alertId,
onException: function (ex)
if (typeof (ex) == "string")
else if (ex.message != undefined)
console.log("" + ex.message + " - " + ex.details);
continueWith: function (data)
$scope.alert.body = $scope.alert.body.replace("\n", "<br/>");