mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-17 12:52:22 +01:00
18 lines
604 B
JavaScript
18 lines
604 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('users')
|
|
.controller('StatusController', StatusController);
|
|
|
|
StatusController.$inject = ['$scope', '$state', '$translate', '$timeout', 'Authentication', '$window', 'ScoreLevelService', 'MeanTorrentConfig'];
|
|
|
|
function StatusController($scope, $state, $translate, $timeout, Authentication, $window, ScoreLevelService, MeanTorrentConfig) {
|
|
var vm = this;
|
|
vm.user = Authentication.user;
|
|
vm.scoreLevelData = ScoreLevelService.getScoreLevelJson(vm.user.score);
|
|
vm.announce = MeanTorrentConfig.meanTorrentConfig.announce;
|
|
|
|
}
|
|
}());
|