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:
parent
2d3e2615ee
commit
2120586fc0
@ -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.";
|
||||
|
Loading…
Reference in New Issue
Block a user