feat(follow): add follow client controller

This commit is contained in:
OldHawk
2018-01-04 15:31:50 +08:00
parent 95422aaaec
commit 46c81617a8

View File

@@ -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);
}
}());