Zwischenschritt
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user