diff options
Diffstat (limited to 'client/js/controllers/home/main.js')
| -rw-r--r-- | client/js/controllers/home/main.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/client/js/controllers/home/main.js b/client/js/controllers/home/main.js deleted file mode 100644 index d93c376..0000000 --- a/client/js/controllers/home/main.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * The home controller - * - * @param {$scope} $scope The $scope service from angular - */ -mainApp.controller('homeCtrl', [ '$scope', 'Compute', '$rootScope', function ($scope, Compute, $rootScope) -{ - - var updatePage=function(){ - // TODO Update graph etc... - } - - // Retrieve all Data - Compute.pullData(updatePage); - - $scope.raiseShowMachineDetailsEvent=function(){ - var machine={name: "Machine 1", online:true}; - $rootScope.$broadcast("showMachineDetailsEvent", machine); - } - - -}]); |
