טרול המתכנן
New member
Applying ng-style to entire *row* within ng-repeat ?
I just can't believe this is not possible...
Currently I'm doing this, that can't be the right way...
<td ng-style="apply_style(item)">{{item.level}}</td>
<td ng-style="apply_style(item)">{{item.code}}</td>
</tr>
I just can't believe this is not possible...
Currently I'm doing this, that can't be the right way...
<tr ng-repeat="item in items"> <td ng-style="apply_style(item)">{{item.name}}</td><td ng-style="apply_style(item)">{{item.level}}</td>
<td ng-style="apply_style(item)">{{item.code}}</td>
</tr>