1
0
mirror of https://github.com/moparisthebest/mail synced 2024-10-31 15:25:01 -04:00
mail/src/js/controller/app/about.js
2014-11-20 15:14:39 +01:00

23 lines
401 B
JavaScript

'use strict';
var AboutCtrl = function($scope, appConfig) {
$scope.state.about = {
toggle: function(to) {
$scope.state.lightbox = (to) ? 'about' : undefined;
}
};
//
// scope variables
//
$scope.version = appConfig.config.appVersion + ' (beta)';
$scope.date = new Date();
//
// scope functions
//
};
module.exports = AboutCtrl;