Good day Steve,
Could you please confirm if this code work for you?, I test in my app but I can't make it work.
coderequestData.data.name/code is taking the new name replacing spaces with %20, but the file in the database is not created, probably the first line coderequestData.data = _.pluck($scope.files, 'filepointer');/code already sends the information to the database and is not update with the replace instruction.
A file with no spaces works perfect.