I am trying to do collapsing <ul></ul>
- after click age
i want to collapse under name
and then the deeper json structure. Now i am in that moment :
<div ng-repeat="key in messages">
<ul ng-repeat=" (x, y) in key">
<li>{{y.age}}</li>
<li style="margin-left:15px;" ng-repeat="(a,b) in y.names" >{{b.name}}</li>
<ul style="margin-left:35px;" ng-repeat="p in a.full_name" >
<li>{{p}}</li>
</ul>
</ul>
</div>
My plunker : http://plnkr.co/edit/902dF10onLRdAvo3gRBa?p=preview
I don't know how to get full_names
from json.
Thanks for answers in advance!