var myapp = angular.module('myapp', []);
myapp.controller('myctrl', ['$scope', function ($scope) {
$scope.alerts = {
"DISPLAY_ALERT_DETAILS": [
{
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492732800000
, "severity": "low"
, "createdByMe": "Y"
, "notificationSubject": "dosMinus"
, "notificationDetails": "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492732800000
, "severity": "low"
, "createdByMe": "Y"
, "notificationSubject": "dosMinus"
, "notificationDetails": "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "low"
, "createdByMe": "Y"
, "notificationSubject": "DOS"
, "notificationDetails": "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s"
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "EO"
, "notificationDetails": "Lorem Ipsum is simply dummy text of the printing"
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "Late Sales Orders"
, "notificationDetails": "It has survived not only five centuries"
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "Late Purchase Orders"
, "notificationDetails": "It was popularised in the 1960s with "
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "Demand"
, "notificationDetails": "It was popularised in the 1960s with the release of Letraset sheets containing "
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "Spend"
, "notificationDetails": "more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
}
, {
"alertRaisedUserId": 1215
, "source": 1
, "clientTimestamp": 1492992000000
, "severity": "informational"
, "createdByMe": "Y"
, "notificationSubject": "Inventory"
, "notificationDetails": "It was popularised in the 1960s with the release of Letraset "
}
]
}
}]);
<html ng-app="myapp">
<head> </head>
<body ng-controller="myctrl">
<div> 1. Div (Display dosMinus)</div>
<div> 2. Div (Display DOS....Etc)</div>
</body>
</html>