mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
29 lines
430 B
JavaScript
29 lines
430 B
JavaScript
'use strict';
|
|
|
|
var cfg = require('../app-config').config;
|
|
|
|
//
|
|
// Controller
|
|
//
|
|
|
|
var AboutCtrl = function($scope) {
|
|
|
|
$scope.state.about = {
|
|
toggle: function(to) {
|
|
$scope.state.lightbox = (to) ? 'about' : undefined;
|
|
}
|
|
};
|
|
|
|
//
|
|
// scope variables
|
|
//
|
|
|
|
$scope.version = cfg.appVersion;
|
|
$scope.date = new Date();
|
|
|
|
//
|
|
// scope functions
|
|
//
|
|
};
|
|
|
|
module.exports = AboutCtrl; |