I have an ng-repeat
that looks like this:
<div class="row" ng-repeat="account in accountsView">
{{account.BankName}}
{{account.AccountName}}
</div>
My accountsView looks like this:
0: Object
AccountBalance: 1234.27
AccountName: "Checking"
AccountOid: 1
BankName: "Chase"
BankOid: 1
BusinessOid: 1
1: Object
AccountBalance: 6590.31
AccountName: "Savings"
AccountOid: 2
BankName: "Chase"
BankOid: 1
BusinessOid: 1
2: Object
AccountBalance: 7653.84
AccountName: "Credit"
AccountOid: 3
BankName: "BofA"
BankOid: 1
BusinessOid: 1
This gives me a result that looks like this:
Chase
Checking
Chase
Savings
BofA
Credit
What I would like it to look like is this:
Chase
------
Checking
Savings
BoFa
------
Credit
How would I do this with the way my list looks?