diff options
Diffstat (limited to 'client/js/controllers/home/machineCreation.js')
| -rw-r--r-- | client/js/controllers/home/machineCreation.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/js/controllers/home/machineCreation.js b/client/js/controllers/home/machineCreation.js new file mode 100644 index 0000000..11315dd --- /dev/null +++ b/client/js/controllers/home/machineCreation.js @@ -0,0 +1,16 @@ +/** + * The home controller + * + * @param {$scope} $scope The $scope service from angular + */ +mainApp.controller('machineCreationCtrl', ['$scope', 'Compute', '$rootScope', '$timeout', 'Identity', function ($scope, Compute, $rootScope, $timeout, Identity) + { + + + $scope.name = "loic" + // When we need to show details of machine + $scope.$on('showMachineCreationEvent', function (eventName) { + $('#machineCreationModal').modal({backdrop: false, keyboard: true}); + }); + + }]); |
