mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 03:37:17 +02:00
feat(follow): add follow client controller
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular
|
||||
.module('users')
|
||||
.controller('FollowController', FollowController);
|
||||
|
||||
FollowController.$inject = ['$scope', '$state', '$timeout', '$translate', 'Authentication', 'UsersService', 'ScoreLevelService', 'MeanTorrentConfig', 'ModalConfirmService',
|
||||
'NotifycationService'];
|
||||
|
||||
function FollowController($scope, $state, $timeout, $translate, Authentication, UsersService, ScoreLevelService, MeanTorrentConfig, ModalConfirmService,
|
||||
NotifycationService) {
|
||||
var vm = this;
|
||||
vm.user = Authentication.user;
|
||||
vm.scoreLevelData = ScoreLevelService.getScoreLevelJson(vm.user.score);
|
||||
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user