summaryrefslogtreecommitdiff
path: root/client/js/controllers/home/machineCreation.js
blob: 11315dd389a463c5410cd93d133f47e640953411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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});
        });

    }]);