I am struggling to display products in boxes on my ecommerce website, similar to how they appear on other platforms.
Although I am utilizing AngularJS ng-repeat
and bootstrap classes, the layout of the products is not coming out as intended.
Take a look at my current code:
<div class="row" id="grdDiv">
<div ng-repeat="category in groupMenuCategories">
<div class="col-md-3 col-lg-3" ng-repeat="grpMenuItem in category.menuItems">
{{grpMenuItem.itemName}}
</div>
</div>
</div>
Desired Website Output:
item1 item2 item3 item4
item5 item6 item7 item8 . . .
Actual Current Output:
item1 item4 item6
item2 item5 item7
item3 (no item) item8
(no item) - item9
To view the issue live click here: http://plnkr.co/edit/wyAXgfa2U4gCBtQmYSr2?p=info