Skip to content Skip to sidebar Skip to footer

Access Items From Array Within Object Property Using Ng-repeat

I'm trying to create a simple category with items kind of setup, where the categories will be all my albums with all the tracks. I've tried to set it up like this: enitoniApp.contr

Solution 1:

Inner ngRepeat should be track in album.tracks (you have albums):

<li ng-repeat="track in album.tracks">{{ track.name}}</li>
<!-- extra "s" was here -----^ -->

Post a Comment for "Access Items From Array Within Object Property Using Ng-repeat"