I have the following code:
var personas = {
{ persona1: { hijos: [1,2,3]}},
{ persona2: { hijos: [2,2,3]}},
{ persona1: { hijos: [1,2,3]}}
}
<div>
<div ng-repeat="(key, hijos) in personas">
<label class="" style="width: 300px">{{key}}</label>
<div ng-repeat="hij in hijos track by $index">
<label style="width: 110px;">{{hij | number:2}}</label>
</div>
</div>
But in console I'm getting [ngRepeat: dupes], the problem is that in the first one there is some repeated and I have to put each ng-repeat an $ index, but you can not