$http({
method: 'POST',
url: ipAdress,
data: "{}",
headers: { 'content-type': 'application/json'}
}).then(function successCallback(response){
console.log(response);
}),function errorCallback(response){
console.log("err");
}