I have a simple ng-repeat going on:
<div class="row-fluid">
<div class="span4" ng-repeat="piece in clothes | filter:query">
<img ng-src="{{piece.mainImage[0]}}" class="thumbImg" />
<a href="#/json/{{piece.systemName}}">{{piece.name}}</a>
</div>
</div>
After 3 repeats, I'd like to stop the repeat, add in a closing <div>
and open a new .row-fluid
(to start a new line), then re-start the loop where I left off, inserting the tags each 3rd time.
The docs for Angular are really hard to traverse, making it difficult to work out how to do this.