flosight-api/public/js/controllers/footer.js
2014-01-20 13:31:37 -03:00

20 lines
327 B
JavaScript

'use strict';
angular.module('insight.system').controller('FooterController',
['$scope',
'Global',
'Status',
function ($scope, Global, Status) {
$scope.global = Global;
$scope.getFooter = function() {
Status.get({
q: 'getInfo'
}, function(d) {
$scope.info = d.info;
});
};
}]);