I have a API response DATA which is like below, there I'm trying to extract CONTACTS which I needed.
$scope.data = Object { ACCOUNT: "{"ACNO":"AC052","NAME":"madavi",…}",
CONTACTS: Array[1], RETURN: "TRUE" }
After Extracting the CONTACTS from the json and i get
Array [ "{"CONTACTNAME":"Mr. sdhar","CONTA…"}",
"{"CONTACTNAME":"Ms. uma","CONTACTPH…"}" ]
I'm trying like this
$scope.contactdetails = data.CONTACTS;
<div ng-repeat="contacts in contactdetails">
<a> {{ contact.CONTACTNAME }} </a>
<a> {{ contact.CONTACTEMAIL }} </a>
<a> {{ contact.CONTACTPHONE }} </a>
<br>
</div>
How can I get values in ng-repeat?