Hi,
I have an array of objects in my controllor and I would like to show that in my view by using ng-repeat in 4 items per row for a tablet and in 1 item per row for mobile device.
I am using responsive-sm and it works for less than 4 items in my array. But my array is dynamic with 20 items and now all of them are placed in one row. I would like 4 rows and 5 columns.
Is there any way to create some breakpoints every 4 items?
<div class="row responsive-sm">
<div class="col" ng-repeat="item in items">
<div class="demo">
<h2>{{ item.title }}</h2>
<p>{{ item.description }}</p>
</div>
</div>
[EDIT] Here is a demo http://codepen.io/leoshtika/pen/emyevg
Thank you