2016-02-06 12:10:04 +01:00
|
|
|
/**
|
|
|
|
* The home controller
|
|
|
|
*
|
|
|
|
* @param {$scope} $scope The $scope service from angular
|
2016-01-24 19:19:32 +01:00
|
|
|
*/
|
2016-02-18 18:06:06 +01:00
|
|
|
mainApp.controller('homeCtrl', [ '$scope', 'Compute', function ($scope, Compute)
|
2016-01-24 19:19:32 +01:00
|
|
|
{
|
2016-02-22 17:30:25 +01:00
|
|
|
|
|
|
|
var updatePage=function(){
|
|
|
|
// TODO Update graph etc...
|
|
|
|
}
|
|
|
|
|
|
|
|
// Retrieve all Data
|
|
|
|
Compute.pullData(updatePage);
|
2016-02-03 16:59:04 +01:00
|
|
|
|
2016-02-18 18:06:06 +01:00
|
|
|
}]);
|