summaryrefslogtreecommitdiff
path: root/client/js/controllers/home/machineDetails.js
blob: 43cfe07edcd4bf418bbae69db29878061c3ef20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * The home controller
 * 
 * @param {$scope} $scope The $scope service from angular
 */
mainApp.controller('machineDetailsCtrl', [ '$scope', 'Compute', '$rootScope', function ($scope, Compute, $rootScope)
{




	$scope.$on('showMachineDetailsEvent', function(eventName ,machine){
		$scope.machine=machine;
		$('#machineDetailsModal').modal({backdrop: false, keyboard: true});
	});


	

	
}]);