title: Creating a "grid" layout using ng-repeat
body: <p>The situation I'm trying to solve is this and I'm a bit puzzled as to how this can be tackled. I'm using <code>ng-repeat</code> for each of the points I've stated here and I intend to use this in the final solution if possible.  </p>
  
  <ul>
  <li>I have an array of objects, all the exact same format. (Safely assume this is true)</li>
  <li>Each object has a list of attributes.</li>
  <li>I wish to arrange these in a grid with >2 columns and there will be an arbitrarily large number of rows.</li>
  <li>Each grid location will display the attributes of the object in that location.</li>
  <li>The number of columns does not need to be dynamically changeable.</li>
  </ul>
  
  <p>The >2 columns requirement is that I understand how to do a one or two column grid layout (one column is an unordered and unstyled list and two columns using the <code>ng-even</code> or <code>ng-odd</code> and using css to create a new line).</p>
  
  <p><strong>So the question is basically this: for an array of size <code>N</code> and a column number of size <code>M</code> (<code>M&lt;N</code>), can I create a grid of the <code>N</code> elements with <code>M</code> elements per row while still using <code>ng-repeat</code>?</strong></p>
  
  <p>If possible, I'd rather not just insert a <code>&lt;br&gt;</code> every <code>M</code> elements - since I'm using <code>ng-repeat</code> each element is expected to have the attributes of the object as I define it in the <code>ng-repeat</code>, and I know that angular will deal with incorrect input but to exploit that doesn't seem like proper practice.</p>
  
  <p>Also using a table leaves me in the same situation as before, I still need to do a different operation every <code>M</code> elements.</p>
  
  <p>Is there a clean way to do this in angular?</p>
  
  <p>It is worth noting that I'm also using <code>twitter-bootstrap</code> so I'll welcome css solutions too.</p>
  
  <p>Thanks in advance and please tell me if I'm missing something obvious.</p>