Edit machine details

This commit is contained in:
manzerbredes 2016-02-28 17:29:34 +01:00
parent 1f397cf0c6
commit 04b66da257
3 changed files with 59 additions and 5 deletions

View file

@ -14,7 +14,7 @@ mainApp.controller('homeCtrl', [ '$scope', 'Compute', '$rootScope', function ($s
Compute.pullData(updatePage);
$scope.raiseShowMachineDetailsEvent=function(){
var machine={name: "Machine 1"};
var machine={name: "Machine 1", online:true};
$rootScope.$broadcast("showMachineDetailsEvent", machine);
}