AngularJS ngRepeat and orderBy.
by Sajeetharan Sinnathurai
HTML
<div ng-app="myApp" ng-controller="ListCtrl">
<div ng-repeat="patient in NextAccountInfo ">
<div>{{patient.id}} {{patient.FacilityCode}}</div>
</div>
</div>
JavaScript
angular.module('myApp', [])
.controller('ListCtrl', function($scope) {
$scope.data ={"WhoisRecord": {
"createdDate": "1996-06-04T04:00:00Z",
"expiresDate": "2022-06-03T04:00:00Z",
"registrant": {
"name": "DNS Manager",
"organization": "Xvideodotcom",
"street1": "6947 Coal Creek Pkwy SE Suite 311",
"city": "Newcastle",
"state": "Washington",
"postalCode": "98059",
"country": "UNITED STATES",
"email": "[email protected]",
"telephone": "12062235540"
}}};
});