Separate Account balances in another factory.

This commit is contained in:
Alexis Lahouze
2017-07-10 08:17:11 +02:00
parent 4abe5092ec
commit d4eaa1454c
5 changed files with 25 additions and 26 deletions

View File

@ -39,8 +39,7 @@
<tr id="{{ account.id }}"
class="form-inline" ng-class="rowClass(account)"
ng-repeat="account in accountsCtrl.accounts | orderBy:'name'"
ng-init="account.getBalances()">
ng-repeat="account in accountsCtrl.accounts | orderBy:'name'">
<td>
<a href="#!/account/{{ account.id }}/operations">{{ account.name }}</a>
</td>