Created
April 22, 2016 14:43
-
-
Save codedcontainer/7dc75c77686e37ff591160ff37082a7d to your computer and use it in GitHub Desktop.
A manual way of splitting a Angular object so that you can add items to rows in Bootstrap.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row" ng-repeat="person in people" ng-if="$index % 3 == 0"> | |
<div class="col-sm-4">{{people[$index]}}.name}}</div> | |
<div class="col-sm-4">{{people[$index + 1]}}.name}}</div> | |
<div class="col-sm-4">{{people[$index + 2]}}.name}}</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment