mirror of https://github.com/moparisthebest/mail
32 lines
524 B
JavaScript
32 lines
524 B
JavaScript
define(function(require) {
|
|
'use strict';
|
|
|
|
var cfg = require('js/app-config').config;
|
|
|
|
//
|
|
// Controller
|
|
//
|
|
|
|
var AboutCtrl = function($scope) {
|
|
|
|
$scope.state.about = {
|
|
open: false,
|
|
toggle: function(to) {
|
|
this.open = to;
|
|
}
|
|
};
|
|
|
|
//
|
|
// scope variables
|
|
//
|
|
|
|
$scope.version = cfg.appVersion;
|
|
$scope.date = new Date();
|
|
|
|
//
|
|
// scope functions
|
|
//
|
|
};
|
|
|
|
return AboutCtrl;
|
|
}); |