Add delete machine
This commit is contained in:
parent
b2c76ddf0a
commit
cddd9682e6
4 changed files with 26 additions and 3 deletions
|
@ -41,6 +41,8 @@ mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$t
|
|||
//Todo
|
||||
};
|
||||
|
||||
|
||||
$scope.deleteMachine=function(){
|
||||
Compute.deleteMachine(function(){console.log("deleted")},$scope.machine.id);
|
||||
}
|
||||
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue