0
で繰り返しフィールドを省略したレコードを表示するために、私は私がWeb APIから取得しています以下のレコードを持っている:どのようにAngularJS
FullRecord
_______
RecordID
RecordDate
PersonName
RecordNote
LineOrder
データはJSON形式でのWeb APIから来ています。
RecordID RecordDate PersonName RecordNote LineOrder
1 10/25/2016 John Doe test1 1
1 10/25/2016 John Doe test2 2
1 10/25/2016 John Doe test3 3
2 10/25/2016 Jane Doe testing23 1
2 10/25/2016 Jane Does testing27 2
次のように私は私のAngularJSアプリケーションwithiそれを表示しています:最初の3つのフィールドが同じでレコードごとに繰り返している
<tbody>
<tr ng-repeat="Record in Records">
<td>{{Record.RecordID}}</td>
<td>{{Record.RecordDate}}</td>
<td>{{Record.PersonName}}</td>
<td>{{Record.RecordNote}}</td>
<td>{{Record.LineOrder}}</td>
</tr>
</tbody>
この道を
内容は次のようなものですレコードID。私は何とかRecordID、RecordDate、およびPerson Nameが何も表示されない場合は、それが繰り返されていないかどうかを疑問に思っていました。例えば
:私は角度でそれを達成するにはどうすればよい
RecordID RecordDate PersonName RecordNote LineOrder
1 10/25/2016 John Doe test1 1
test2 2
test3 3
2 10/25/2016 Jane Doe testing23 1
testing27 2
?