I'm using Angle with Admin LTE. I need to make a ng-repeat
where li
within ul
will repeat. I can not repeat ul
, but only li
within that ul
. Also I can not enclose these li
with a parent element to make the repeat loop with ng-repeat
, as this is breaking the style, since the css selector is capturing ul.timeline > li
.
My code looks like this, and the commented lines indicate where I need to start and terminal the ngRepeat
:
<ul class="timeline" >
<!-- [ngRepeat status in os.status] precido repetir daqui -->
<li class="time-label">
<span class="bg-blue" ng-bind="status.nome"></span>
</li>
<li>
<i class="fa fa-check bg-green"></i>
<div class="timeline-item">
<h3 class="timeline-header">
Responsável: <strong ng-bind="status.pivot.usuario.nome"></strong>
</h3>
<div class="timeline-body">
<strong ng-bind="status.pivot.usuario.nome" /> realizou <span ng-bind="status.nome" /> em <strong ng-bind="status.pivot.data_inicio" />.
</div>
</div>
</li>
<!-- [endNgRepeat] até aqui -->
<li>
<i class="fa fa-clock-o bg-gray"></i>
</li>
</ul>
I can not use an element that includes the li
that I want to repeat, but I need them to be repeated within the commenting section. How to do this?