From 2120586fc0d80b5e505d0b6ecd007643a240c271 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 14 Jan 2018 10:32:22 -0500 Subject: [PATCH] Remove AuthSvc dependency from UploadComp --- app/public/shimapan/components/UploadComp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/public/shimapan/components/UploadComp.js b/app/public/shimapan/components/UploadComp.js index 2617498..3a58d8a 100755 --- a/app/public/shimapan/components/UploadComp.js +++ b/app/public/shimapan/components/UploadComp.js @@ -2,7 +2,7 @@ var angular = require('angular'); angular.module('UploadComp', ['ngFileUpload', 'AuthSvc']).component('uploadComponent', { templateUrl: '/views/shimapan/upload-form.html', - controller: ['$scope', 'Upload', '$timeout', 'AuthService', function ($scope, Upload, $timeout, AuthService) { + controller: ['$scope', 'Upload', '$timeout', function ($scope, Upload, $timeout) { $scope.errToString = function (err) { if (err === 'maxSize') return "File too large.";