diff options
| author | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-04 20:19:06 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-04 20:19:06 +0200 |
| commit | cddd9682e6d6b7c5fd42215dec533c3c38da8eba (patch) | |
| tree | 52c05c4cf9e15337c6083d4c5127842688c7bcaf /client/js/controllers/home/home.js | |
| parent | b2c76ddf0a27521a1f11a52af968ac3df1c063f7 (diff) | |
Add delete machine
Diffstat (limited to 'client/js/controllers/home/home.js')
| -rwxr-xr-x | client/js/controllers/home/home.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/js/controllers/home/home.js b/client/js/controllers/home/home.js index 1b4acf8..d6d6621 100755 --- a/client/js/controllers/home/home.js +++ b/client/js/controllers/home/home.js @@ -5,6 +5,9 @@ */ mainApp.controller('homeCtrl', [ '$scope', 'Compute', '$rootScope', 'Loading','Identity', 'Image', function ($scope, Compute, $rootScope, Loading, Identity, Image) { + $scope.raiseShowMachineCreationEvent = function () { + $rootScope.$broadcast("showMachineCreationEvent", Compute.getData().axioms); + }; var displayMachine = function(){ var machineNames = []; var i = 0; |
