Fixed dependency with angularFileUpload but not the functionality itself