sankey in frontend works, added logs system, added getLastTx in backend and frontend

This commit is contained in:
arnaucode
2017-08-07 22:00:07 +02:00
parent 2c67f57b7b
commit fe164456fb
11 changed files with 107 additions and 51 deletions

View File

@@ -10,5 +10,14 @@ angular.module('app.main', ['ngRoute'])
}])
.controller('MainCtrl', function($scope, $http) {
$scope.addresses = [];
$http.get(urlapi + 'lasttx')
.then(function(data, status, headers, config) {
console.log('data success');
console.log(data);
$scope.addresses = data.data;
}, function(data, status, headers, config) {
console.log('data error');
});
});