summaryrefslogtreecommitdiff
path: root/client/js/controllers/home
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/controllers/home')
-rw-r--r--client/js/controllers/home/main.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/client/js/controllers/home/main.js b/client/js/controllers/home/main.js
index e629779..d25bfad 100644
--- a/client/js/controllers/home/main.js
+++ b/client/js/controllers/home/main.js
@@ -3,8 +3,15 @@
*
* @param {$scope} $scope The $scope service from angular
*/
-mainApp.controller('homeCtrl', function ($scope)
+mainApp.controller('homeCtrl', [ '$scope', 'Compute', function ($scope, Compute)
{
-
+
+
+ var updatePage=function(){
+ // TODO Update graph etc...
+ }
+
+ // Retrieve all Data
+ Compute.pullData(updatePage);
-}); \ No newline at end of file
+}]);