Can i use a repeater to control the width of my table columns in angularjs? col ng-repeat
<colgroup>
<col ng-repeat="th in eventCollection.head" ng-style="width:{{th.width}}" />
<!--<col span="1" style="width: 5px;">
<col span="1" style="width: 100px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">-->
</colgroup>
Just lose the double braces:
<col ng-repeat="th in eventCollection.head" span="1" ng-style="{ width: th.width }">