1
I have a multidimensional array.
To demonstrate it in my view I use an ng-repeat in a ul inside another ng-repeat in a li, thus:
<ul ng-repeat="section in sections">
<li>
{{section.name}}
</li>
<ul>
<li ng-repeat="tutorial in section.tutorials">
{{tutorial.name}}
</li>
</ul>
</ul>
How could I demonstrate these values in a table? Since it’s not possible this way:
<tr ng-repeat="section in sections">
<tr ng-repeat="tutorial in section.tutorials">
<td>{{:: tutorial.name }}</td>
</tr>
</tr>
It didn’t work out either way :(
– Fred
You could post your json structure of the sections object?
– Anderson Souza
I got it! haha, I’ll post it here..
– Fred