$http.get('***').success(function(data, status,response)
{
$scope.items=data;
var getdata=JSON.stringify(data.D_Services);
console.log(getdata);
});
im retrieving in the console
D_Services: "Wash,Tyres,Spares,Accessories";
Could someone please assist me?
<div ng-controller="Test1Controller" data-ng-init="loadservice()">
<div ng-repeat="item in items">
<input type="checkbox" ng-model="item.SELECTED" ng-true-value="'Y'" ng-false-value="'N'"/> {{item.D_Services}}
</div>
</div>
I am looking for a solution similar to this one. Can anyone help?
Currently, this is the result I am obtaining