title: How to send additional data with angularFileUpload
body: <p>I'm using <strong>angularFileUpload</strong> module in my project. It working fine but I want to sending additional data with my file/s but I can't.</p>
  
  <pre><code>var uploader = $scope.uploader = Upload.upload({
          url: 'api/photos/upload/propertyphoto',
          type:'post',
          data:{name:'my name'},
          headers:{
              csrf_token:CSRF_TOKEN,
              'X-XSRF-TOKEN':X_XSRF_TOKEN
          }
     });
  </code></pre>
  
  <p>Photo uploading working fine. but when I receive the data using <code>$_POST['name']</code> thats does not work.  </p>