比方说,我有以下代码:
<tr ng-repeat="transaction in $data">
<td data-title="'Id'" sortable="id">{{transaction.id}}</td>
<td data-title="'Player'" sortable="playerId">{{transaction.playerId}}</td>
<td data-title="'Type'" sortable="type">{{transaction.type}}</td>
<td data-title="'Date'" sortable="date">{{transaction.date | amDateFormat:'lll'}}</td>
<td data-title="'Provider'" sortable="provider">{{transaction.paymentMethod}}</td>
<td data-title="'Amount'" sortable="amount">{{transaction.amount | currency:'€ '}}</td>
<td data-title="'Code'" sortable="code">{{transaction.code}}</td>
<td data-title="'Status'" sortable="status">{{transaction.status}}</td>
</tr>
对于“transaction.code”从服务器响应为“SRV_DPS”。 如何显示在浏览器的“存款”?