title: Angular File Upload with Parameters
body: <p>I'm using <a href="https://github.com/danialfarid/angular-file-upload#bower" rel="nofollow">Angular-file-upload</a> to upload files to an API by doing this:</p>
  
  <pre><code>var upload = function (file) {
      return $upload.upload({
          url: '/api/place/logo',
          data: {place_id: 1, token: &lt;some_token&gt;},
          file: file
      });
  };
  </code></pre>
  
  <p>All the parameters seem to be correctly set. The API expects the <code>token</code> to be present for authentication. For some reason, the API never receives the <code>token</code> or the <code>place_id</code> posted by the client and always responds with a <code>BadRequest</code>.</p>
  
  <p>What is the issue here?</p>