Im getting following json and want to repeat and bind the value but its seems something wrong.
JSON
{
"1428394433116":[
{
"path":"path0","value":"test path 2"
},
{
"path":"path1","value":"test path 1"
}
],
"1428467596813":[
{
"path":"path0","value":"path info 1"
},
{
"path":"path1","value":"path info 2"
},
{
"path":"path2","value":"path info 3"
}
] }
ng-repeater
<p ng-repeat="p in ps">
<label>Path <span ng-bind="$index"></span> :</label>
<span class="normal-f">
<span ng-bind="p.value"></span>
<input type="text" ng-model="a.path[$index]">
</span>
</p>
Update
Thanks, ID-1428394433116 for one module and ID-1428467596813 for another module.
So expected result is:
path 1: test path 2
path 2: test path 1