現在、Chrome はサイズ 40x15 のテーブルを約 6 秒でロードします。goog.editor.Table よりもはるかに遅いです。ロード時間を少なくとも 2 回短縮する必要があります。
<script type="text/ng-template" id="grid_item_renderer.html">
<span ng-switch on="cell.type">
<textarea ng-switch-when="simple" class="cell-text-area simple-cell" ng-model="cell.data">{{cell.data}}</textarea>
<span ng-switch-when="grid">
<table class="declarative-grid-table" border="1" bordercolor="#CCC" cellspacing="0" tabindex="0">
<tr ng-repeat="row in cell.data.grid" >
<td ng-repeat="cell in row" class="declarative-grid-cell">
<span ng-include="'grid_item_renderer.html'"></span>
</td>
</tr>
</table>
</span>
<span ng-switch-default>unexpected cell type</span>
</span>
</script>
<table class="declarative-grid-table" border="1" bordercolor="#CCC" cellspacing="0" tabindex="0">
<tr ng-repeat="row in declarativeGrid" class="declarative-grid-row">
<td ng-repeat="cell in row" class="declarative-grid-cell">
<span ng-include="'grid_item_renderer.html'"></span>
</td>
</tr>
</table>