diff --git a/modules/users/client/controllers/follow/follow.client.controller.js b/modules/users/client/controllers/follow/follow.client.controller.js new file mode 100644 index 00000000..72596a86 --- /dev/null +++ b/modules/users/client/controllers/follow/follow.client.controller.js @@ -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); + + } +}());