trim some unused code. parameterize \$http.post args so it Fixes #1994
rename flowService to uploadService