Angular: Table with ng:repeat
http://angularjs.org/
HTML
<script type="text/javascript" ng:autobind src="http://code.angularjs.org/0.10.5/angular-0.10.5.js"></script>
<table>
<tr>
<th>Name</th>
<th>Value</th>
<th>EDIT</th>
<th>DELETE</th>
</tr>
<tr ng:repeat="i in items">
<tr><td>{{i.name}}</td>
<td>{{$index}}</td>
<td><button>edit</button></td>
<td><button>DELETE</button></td>
</tr>
</table>
JavaScript
function Main() {
this.items = [{
name: 'first',
examples: [
{name: 'first sub1'},
{name: 'first sub2'}
]},{
name: 'second',
examples: [
{name: 'second sub1'},
{name: 'second sub2'}
]}
];
}