Use ng-repeat to build table headers