2014-01-22 13:13:43 -08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('insight.system').controller('FooterController',
|
2014-01-23 10:01:09 -08:00
|
|
|
function($scope, Version) {
|
2014-01-22 13:13:43 -08:00
|
|
|
|
2014-01-23 09:39:09 -08:00
|
|
|
var _getVersion = function() {
|
2014-01-22 13:13:43 -08:00
|
|
|
Version.get({},
|
|
|
|
function(res) {
|
|
|
|
$scope.version = res.version;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2014-01-23 09:39:09 -08:00
|
|
|
$scope.version = _getVersion();
|
2014-01-22 13:13:43 -08:00
|
|
|
|
|
|
|
});
|