Repita listas, rows, divs, links, imagens.
bower install RepeaterJs
<table class="table table-hover">
<thead>
<tr>
<th>
Nome
</th>
<th>
Github
</th>
</tr>
</thead>
<tbody>
<tr class="repeater">
<td>
{{nome}}
</td>
<td>
<a href="{{github.url}}">{{github.usuario}}</a>
</td>
</tr>
</tbody>
</table>
<script src="bower_components/repeaterjs/dist/repeater.js"></script>
<script>
var dados = [{
nome: 'Lucas Comino',
github : {
usuario: 'lcomino',
url : 'https://github.com/lcomino'
}
},
{
nome: 'João da Silva',
github : {
usuario: 'joao.silva',
url : 'https://github.com/joao.silva'
}
}
];
Repeater.init('.repeater', dados);
</script>
Simples, sua table estará preenchida!
Fique a vontate para contribuir com o projeto.