small update: integrated webserver in the main.go, small frontend changes, not finished relation loops bug fix

This commit is contained in:
arnaucode
2017-08-17 13:51:02 +02:00
parent ff774543e8
commit 88fb44d965
10 changed files with 53 additions and 23 deletions

View File

@@ -71,8 +71,10 @@ angular.module('app.addressNetwork', ['ngRoute'])
console.log('data error');
});
$scope.selectedAddress="";
$scope.getAddressNetwork = function(address) {
console.log(address);
$scope.selectedAddress=address;
$http.get(urlapi + 'address/network/' + address.id)
.then(function(data, status, headers, config) {
console.log('data success');