I am looking to iterate through a collection of divs
, as mentioned below. Each object in the list will have content-data and a link to an image. The code provided shows individual entries for each list item, but I would like to retrieve it from the angular object instead. I am currently stuck on this issue.
<div class="panel-body">
<div class="media"> <a class="pull-left kit-avatar kit-avatar-36" href="#"> <img class="media-object" src="images/dummy/uifaces1.jpg" alt=""> </a>
<div class="media-body">
<div class="pull-right">
<div class="btn-group btn-group-xs"> <a href="#" rel="tooltip" title="Attend Test" class="btn btn-default"><i class="fa fa-check fa-fw"></i>Going To Attend Test</a> </div>
<!-- /.btn-group -->
</div>
<!-- /.pull-right -->
<h5 class="media-heading"><a href="#">Purchase 4 items ($80)</a></h5>
<div class="text-muted"> <small><i class="fa fa-user fa-fw"></i> Rose Davies</small> <small><i class="fa fa-user fa-fw"></i> 16 minutes</small> </div>
</div>
<!-- /.media-body -->
</div>
<!-- /.media -->
<hr>
<!-- More similar div elements with different data -->
I have only used ng-repeat in table data
. Is it possible to populate the entire object and repeat it through iteration?