{"action":"opened","issue":{"url":"https://api.github.com/repos/nervgh/angular-file-upload/issues/361","labels_url":"https://api.github.com/repos/nervgh/angular-file-upload/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/nervgh/angular-file-upload/issues/361/comments","events_url":"https://api.github.com/repos/nervgh/angular-file-upload/issues/361/events","html_url":"https://github.com/nervgh/angular-file-upload/issues/361","id":58774279,"number":361,"title":"URL of FileUploader","user":{"login":"ava-oneilk","id":9661867,"avatar_url":"https://avatars.githubusercontent.com/u/9661867?v=3","gravatar_id":"","url":"https://api.github.com/users/ava-oneilk","html_url":"https://github.com/ava-oneilk","followers_url":"https://api.github.com/users/ava-oneilk/followers","following_url":"https://api.github.com/users/ava-oneilk/following{/other_user}","gists_url":"https://api.github.com/users/ava-oneilk/gists{/gist_id}","starred_url":"https://api.github.com/users/ava-oneilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ava-oneilk/subscriptions","organizations_url":"https://api.github.com/users/ava-oneilk/orgs","repos_url":"https://api.github.com/users/ava-oneilk/repos","events_url":"https://api.github.com/users/ava-oneilk/events{/privacy}","received_events_url":"https://api.github.com/users/ava-oneilk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T17:41:25Z","updated_at":"2015-02-24T17:41:25Z","closed_at":null,"body":"I'm currently trying to use this module with a Yii application.  I am trying to upload a CSV and then eventually json encode and save the contents to an Amazon S3 Bucket.  I'm having trouble trying to figure out how to upload the file.\r\n\r\n\r\nCONTROLLER:\r\n=========================\r\n    app.controller('UploadController', function (Uploads, $rootScope, $scope, FileUploader, DataSource)      { \r\n        var uploader = $scope.uploader = new FileUploader({\r\n            url: '/account/upload.php'\r\n        });\r\n\r\n    });\r\n\r\nVIEW:\r\n=========================\r\n<input type=\"file\" nv-file-select uploader=\"uploader\"/><br/>\r\n<ul>\r\n    <li ng-repeat=\"item in uploader.queue\">\r\n        Name: <span ng-bind=\"item.file.name\"></span><br/>\r\n        <button ng-click=\"item.upload();\">upload</button>\r\n    </li>\r\n</ul>\r\n\r\n\r\n===========================\r\n\r\nI'm getting a 400 (bad request) error, was wondering if anyone could help me out."}}