fix(invitations): fix $timeout will be inject

This commit is contained in:
OldHawk
2017-09-14 14:43:52 +08:00
parent 74b8334d4c
commit d4368ef204

View File

@@ -6,10 +6,10 @@
.controller('AdminInvitationController', AdminInvitationController);
AdminInvitationController.$inject = ['$scope', '$state', 'Authentication', 'InvitationsService', 'NotifycationService', 'DebugConsoleService', '$translate',
'MeanTorrentConfig', '$filter'];
'MeanTorrentConfig', '$filter', '$timeout'];
function AdminInvitationController($scope, $state, Authentication, InvitationsService, NotifycationService, mtDebug, $translate,
MeanTorrentConfig, $filter) {
MeanTorrentConfig, $filter, $timeout) {
var vm = this;
vm.user = Authentication.user;
vm.announce = MeanTorrentConfig.meanTorrentConfig.announce;