diff options
Diffstat (limited to 'client/js/controllers/home')
| -rw-r--r-- | client/js/controllers/home/main.js | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/client/js/controllers/home/main.js b/client/js/controllers/home/main.js index 2898de2..d25bfad 100644 --- a/client/js/controllers/home/main.js +++ b/client/js/controllers/home/main.js @@ -1,11 +1,17 @@ -/* - * home Controller +/** + * The home controller + * + * @param {$scope} $scope The $scope service from angular */ +mainApp.controller('homeCtrl', [ '$scope', 'Compute', function ($scope, Compute) +{ + var updatePage=function(){ + // TODO Update graph etc... + } -mainApp.controller('homeCtrl', function ($scope) -{ - + // Retrieve all Data + Compute.pullData(updatePage); -});
\ No newline at end of file +}]); |
