mirror of
https://github.com/arnaucube/goBlockchainDataAnalysis.git
synced 2026-02-07 19:46:45 +01:00
sankey in frontend works, added logs system, added getLastTx in backend and frontend
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user