Track by , decrease digest cost 90%

This commit is contained in:
Pete Richards 2016-08-05 20:58:39 -07:00
parent f239b7c3f7
commit fdbbda14f7

View File

@ -48,7 +48,7 @@
</thead>
<tbody>
<tr ng-repeat="visibleRow in visibleRows track by visibleRow.rowIndex"
<tr ng-repeat="visibleRow in visibleRows track by $index"
ng-style="{
top: visibleRow.offsetY + 'px',
}">