<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/angular_material/0.9.4/angular-material.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=RobotoDraft:300,400,500,700,400italic">
<!-- Angular Material Dependencies -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="app.js"></script>
</head>
<body ng-app="plnkrApp" ng-controller="DemoController">
<h1>Array</h1>
<table>
<tbody ng:repeat="x in array">
<tr>
<td>{{x.url}}</td>
</tr>
</tbody>
</table>
<h1>Object</h1>
<table>
<tbody ng:repeat="x in object">
<tr>
<td>{{x}}</td>
</tr>
</tbody>
</table>
</body>
</html>
/* Styles go here */
var app = angular.module('plnkrApp', []);
app
.controller("DemoController", function($scope) {
$scope.array = [ {url: 'test1'}, {url: 'test2'}, {url: 'test3'}];
$scope.object = {url: 'test1'};
});
[
{
"ClientReferenceCode": null,
"MonitoringStartDate": "2015-06-29T16:52:02.433Z",
"ReportGuid": "0ce58ef8-876a-11e5-93ff-000d3a30cabe",
"ReportDate": "2015-11-09T00:00:00.000Z",
"ReportUri": "1N6BD06T77C434842_Impound_2015-11-9",
"Vehicle": {
"Year": "2007",
"Make": "NISSAN",
"Model": "FRONTIER",
"Vin": "1N6BD06T77C434842",
"Plate": {
"Text": "8H95190",
"Issuer": "CA",
"Year": "2016"
}
},
"CaseType": 0,
"CaseAttributes": {
"ClientCaseGuid": "0fce57a4-876a-11e5-80c4-000d3a3072be",
"IsRead": true,
"IsCompleted": false,
"Phone1": "",
"Phone2": "",
"VehicleLocation": "",
"DateOfImpound": "2015-11-06",
"ImpoundedBy": "",
"ImpoundNote1": null,
"ImpoundNote2": null,
"CallLogs": [
{
"CallLogGuid": "30173a12-8d8e-482a-b407-3bf3513fff05",
"ClientCaseGuid": "0fce57a4-876a-11e5-80c4-000d3a3072be",
"LogType": 0,
"PhoneNumber": "",
"LogEntries": [],
"DateCreated": "2015-11-10T05:15:33.873"
},
{
"CallLogGuid": "169982f7-2602-4070-b41d-72e6eb6d622b",
"ClientCaseGuid": "0fce57a4-876a-11e5-80c4-000d3a3072be",
"LogType": 0,
"PhoneNumber": "",
"LogEntries": [],
"DateCreated": "2015-11-10T05:15:33.873"
}
]
},
"createdAt": "2015-12-02T17:14:10.777Z",
"updatedAt": "2015-12-02T17:14:10.777Z",
"id": "565f26e260cda388d8008be0"
},
{
"ClientReferenceCode": null,
"MonitoringStartDate": "2015-06-24T20:40:16.940Z",
"ReportGuid": "ea5ec294-6be0-11e5-93ff-000d3a30ca53",
"ReportDate": "2015-10-05T00:00:00.000Z",
"ReportUri": "1J4GS48K35C525916_Impound_2015-10-5",
"Vehicle": {
"Year": "2005",
"Make": "JEEP",
"Model": "GRAND CHEROKEE",
"Vin": "1J4GS48K35C525916",
"Plate": {
"Text": "7GYP510",
"Issuer": "CA",
"Year": "2015"
}
},
"CaseType": 0,
"CaseAttributes": {
"ClientCaseGuid": "ebe5d7ec-6be0-11e5-80c4-000d3a307bf3",
"IsRead": true,
"IsCompleted": false,
"Phone1": "",
"Phone2": "9093952001",
"VehicleLocation": "",
"DateOfImpound": "2015-10-02",
"ImpoundedBy": "ONTARIO POLICE DEPT",
"ImpoundNote1": null,
"ImpoundNote2": null,
"CallLogs": [
{
"CallLogGuid": "d187d0a9-77e3-4315-ac60-0ae27401e81f",
"ClientCaseGuid": "ebe5d7ec-6be0-11e5-80c4-000d3a307bf3",
"LogType": 0,
"PhoneNumber": "9093952001",
"LogEntries": [],
"DateCreated": "2015-10-06T04:15:50.067"
},
{
"CallLogGuid": "cd58fd74-04e1-406e-9250-19bc4a1944bc",
"ClientCaseGuid": "ebe5d7ec-6be0-11e5-80c4-000d3a307bf3",
"LogType": 0,
"PhoneNumber": "",
"LogEntries": [],
"DateCreated": "2015-10-06T04:15:50.067"
}
]
},
"createdAt": "2015-12-02T17:14:10.779Z",
"updatedAt": "2015-12-02T17:14:10.779Z",
"id": "565f26e260cda388d8008be5"
}
]