JavaScript
var myApp = angular.module('myApps', []);
myApp.controller('checkBoxController', function ($scope) {
$scope.patients=[{
"id": 160,
"email": "test.lnt.hillrom+StephenMurphy904@gmail.com",
"firstName": "Stephen",
"lastName": "Murphy",
"isDeleted": false,
"zipcode": 55110,
"address": "39 Xswhss lane ",
"city": "White Bear Lake",
"dob": "12/21/1947",
"gender": "Male",
"title": null,
"hillromId": "46399",
"langKey": null,
"middleName": null,
"state": "MN",
"mobilePhone": null,
"primaryPhone": null,
"createdAt": 1490167354000,
"isActivated": true,
"adherence": 98,
"lastTransmissionDate": "2017-03-20",
"lastLoggedInAt": null,
"clinics": [],
"hcp": null,
"clinicMRNId": {
},
"clinicNamesCSV": "Jeffrey,Cathy General Hospital",
"hcpNamesCSV": null,
"mrnId": null,
"hoursOfUsage": 0.0,
"serialNumber": null,
"deviceType": "VEST",
"expired": false,
"isSettingsDeviated": false,
"isHMRNonCompliant": true,
"isMissedTherapy": false,
"isNoEvent": false,
"deviceTypeVest": true,
"deviceTypeMonarch": false
},
{
"id": 639,
"email": "test.lnt.hillrom+ThomasPrice986@gmail.com",
"firstName": "Thomas",
"lastName": "Price",
"isDeleted": false,
"zipcode": 54214,
"address": "57 Emwzfe lane ",
"city": null,
"dob": "04/18/1955",
"gender": null,
"title": null,
"hillromId": "22038",
"langKey": null,
"middleName": null,
"state": null,
"mobilePhone": null,
"primaryPhone": null,
"createdAt": 1490167354000,
"isActivated": true,
"adherence": 92,
"lastTransmissionDate": "2017-03-20",
"lastLoggedInAt": null,
...