I am getting this error:
Duplicates in a repeater are not allowed. Repeater: session in privateKeyList key: string:I
This is my JavaScript code:
success(function(data, status, headers, config) {
$scope.privateKeyList = data.privateKeyList;
$scope.totalPrivKey=data.totalPrivateKey;
This is my JSP code:
<tbody ng-repeat="session in privateKeyList">
<tr>
<td>{{session.ptID}}</td>
<td>{{session.encID}}</td>
<td>{{session.doctorID}}</td>
</tr>
This is the response in JSON string:
{
"privateKeyList":
"[\"{key1:9315, key2:27108, key3:122 }\",
\"{key1:9315, key2:27108, key3:122}\"]",
"totalPrivateKey": 888 }