{"action":"created","issue":{"url":"https://api.github.com/repos/flowjs/ng-flow/issues/219","labels_url":"https://api.github.com/repos/flowjs/ng-flow/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/flowjs/ng-flow/issues/219/comments","events_url":"https://api.github.com/repos/flowjs/ng-flow/issues/219/events","html_url":"https://github.com/flowjs/ng-flow/issues/219","id":107044803,"number":219,"title":"Flow and Multer","user":{"login":"wisdomry","id":12446462,"avatar_url":"https://avatars.githubusercontent.com/u/12446462?v=3","gravatar_id":"","url":"https://api.github.com/users/wisdomry","html_url":"https://github.com/wisdomry","followers_url":"https://api.github.com/users/wisdomry/followers","following_url":"https://api.github.com/users/wisdomry/following{/other_user}","gists_url":"https://api.github.com/users/wisdomry/gists{/gist_id}","starred_url":"https://api.github.com/users/wisdomry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisdomry/subscriptions","organizations_url":"https://api.github.com/users/wisdomry/orgs","repos_url":"https://api.github.com/users/wisdomry/repos","events_url":"https://api.github.com/users/wisdomry/events{/privacy}","received_events_url":"https://api.github.com/users/wisdomry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T18:31:22Z","updated_at":"2015-09-17T19:04:59Z","closed_at":null,"body":" I'm unable to tie in an image upload from ng-flow with multer. Does anyone have a working example?\r\n\r\nI had an example working with ng-file-upload with the following code:\r\n\r\n    var multer = require('multer');\r\n    var upload = multer({ dest: './public/images'});\r\n\r\n    router.post('/uploads', upload.single('file'), function(req,res,next){\r\n       console.log(\"Server: got file \");\r\n    });\r\n\r\nHowever, this doesn't work with flow as I don't know what to set the file name to in the upload.single method. Is this something I can find out client side? Or perhaps a different syntax is required?\r\n\r\nGrateful for help."},"comment":{"url":"https://api.github.com/repos/flowjs/ng-flow/issues/comments/141191033","html_url":"https://github.com/flowjs/ng-flow/issues/219#issuecomment-141191033","issue_url":"https://api.github.com/repos/flowjs/ng-flow/issues/219","id":141191033,"user":{"login":"AidasK","id":2088484,"avatar_url":"https://avatars.githubusercontent.com/u/2088484?v=3","gravatar_id":"","url":"https://api.github.com/users/AidasK","html_url":"https://github.com/AidasK","followers_url":"https://api.github.com/users/AidasK/followers","following_url":"https://api.github.com/users/AidasK/following{/other_user}","gists_url":"https://api.github.com/users/AidasK/gists{/gist_id}","starred_url":"https://api.github.com/users/AidasK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AidasK/subscriptions","organizations_url":"https://api.github.com/users/AidasK/orgs","repos_url":"https://api.github.com/users/AidasK/repos","events_url":"https://api.github.com/users/AidasK/events{/privacy}","received_events_url":"https://api.github.com/users/AidasK/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T19:04:59Z","updated_at":"2015-09-17T19:04:59Z","body":"Have you tried nodejs example? https://github.com/flowjs/flow.js/tree/master/samples/Node.js"}}