Add delete machine

This commit is contained in:
Loic GUEGAN 2016-05-04 20:19:06 +02:00
parent b2c76ddf0a
commit cddd9682e6
4 changed files with 26 additions and 3 deletions

View file

@ -41,6 +41,8 @@ mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$t
//Todo
};
$scope.deleteMachine=function(){
Compute.deleteMachine(function(){console.log("deleted")},$scope.machine.id);
}
}]);