2016-02-11 22:34:20 -03:00
|
|
|
(function () {
|
|
|
|
|
'use strict';
|
2014-11-10 23:12:33 +02:00
|
|
|
|
2016-02-11 22:34:20 -03:00
|
|
|
angular
|
|
|
|
|
.module('users')
|
|
|
|
|
.controller('SettingsController', SettingsController);
|
|
|
|
|
|
2017-06-05 14:30:03 +08:00
|
|
|
SettingsController.$inject = ['$scope', 'Authentication', 'MeanTorrentConfig'];
|
2016-02-11 22:34:20 -03:00
|
|
|
|
2017-06-05 14:30:03 +08:00
|
|
|
function SettingsController($scope, Authentication, MeanTorrentConfig) {
|
2016-02-11 22:34:20 -03:00
|
|
|
var vm = this;
|
|
|
|
|
|
|
|
|
|
vm.user = Authentication.user;
|
2017-06-05 14:30:03 +08:00
|
|
|
vm.signConfig = MeanTorrentConfig.meanTorrentConfig.sign;
|
2015-07-25 16:53:11 -04:00
|
|
|
}
|
2015-12-10 20:31:51 +01:00
|
|
|
}());
|