/ Published in: JavaScript

Add bootsrap grid estructure in ng-repeat: Adds .row every 3 items
Expand |
Embed | Plain Text
<div class="row" ng-repeat="item in data track by $index " ng-if="$index%3==0"> <div class="col-md-4 col-sm-6" ng-repeat="i in [$index,$index+1,$index+2] | filter:isType(typeFilter)"> </div> </div>
You need to login to post a comment.