0

I have a list of values [1,2,3,4,5,6,7,8,9,10]. I want to print this list as a bootstrap grid (class="col-x") using angularjs.

I want to create 4 column and 3 rows grid from this list.

What is the best way to do this?

Siguza
  • 21,155
  • 6
  • 52
  • 89
orikoko
  • 881
  • 5
  • 15
  • 26

1 Answers1

0

Just assigning them a .col-size-3 class will create 4 columns.

Félix Queiruga
  • 105
  • 1
  • 6
  • I did this:
    {{val}}
    and it not working
    – orikoko Aug 25 '14 at 14:05
  • Try putting the ng-repeat with che class .col-xs-3, for example, inside the row:
  • ...
Also you could try to make a working example using http://jsfiddle.net/ – Félix Queiruga Aug 25 '14 at 14:28
  • Also see this similar issue http://stackoverflow.com/questions/22592298/structure-issues-using-ng-repeat-with-bootstrap-and-angularjs – Félix Queiruga Aug 25 '14 at 14:31