JSFiddle - React, Tailwind, and code Playground
by famedriver
HTML
<!--Save
Simple example for creating a table with a rowspan
-->
<script src="http://code.angularjs.org/1.0.1/angular-1.0.1.js" ng:autobind></script>
<div ng:app="myApp">
<div ng:controller="Tester">
<table border="1">
<tbody ng-repeat='(what,items) in data'>
<tr ng-repeat='item in items'>
<td rowspan="{{items.length}}" ng-show="$first">{{what}}</td>
<td>{{item}}</td>
</tr>
</tbody>
</table>
</div>
JavaScript
(function(g) {
angular.module('myApp', []);
g.Tester = function($scope) {
$scope.data = {
Colors: ["red", "green", "blue"]
}
}
}(window));