No need to pull in unused AppStore dependency

This commit is contained in:
Johannes Zellner
2017-06-06 11:32:49 +02:00
parent aa8b4f1fba
commit 9ceeb70fc2

View File

@@ -1,6 +1,6 @@
'use strict';
angular.module('Application').controller('EmailController', ['$scope', '$location', '$rootScope', 'Client', 'AppStore', function ($scope, $location, $rootScope, Client, AppStore) {
angular.module('Application').controller('EmailController', ['$scope', '$location', '$rootScope', 'Client', function ($scope, $location, $rootScope, Client) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
$scope.client = Client;