1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-05 15:58:03 -05:00

Remove AuthSvc dependency from UploadComp

This commit is contained in:
Jack Foltz 2018-01-14 10:32:22 -05:00
parent 2d3e2615ee
commit 2120586fc0
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -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.";