Zwischenschritt

This commit is contained in:
2016-04-11 07:55:23 +02:00
parent 8219d08bb5
commit 2c6515daa0
2 changed files with 12 additions and 5 deletions
+9 -3
View File
@@ -13,7 +13,7 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$location'
}
$scope.transaction = {
amount: 1,
amount: undefined,
date: new Date()
};
@@ -42,9 +42,15 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$location'
$scope.accountId = 1;
$scope.account = 'http://localhost:8080/accounts/1';
console.log('initList()');
//http://localhost:8080/accounts/search/findByUserName?username=betty@mail.com
//$scope.transaction.date = new Date();
// var accounts = $resource('/accounts/search/findByUserName', { username: $scope.accountId }).get();
console.log('initList()');
$scope.refreshList();