mirror of
https://github.com/moparisthebest/mail
synced 2024-10-31 15:25:01 -04:00
23 lines
401 B
JavaScript
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; |