title: Phonegap ios image upload as formdata not working,
body: <p>In my Phonegap application ios image upload is not working for some time, don't know the exact reason for uploading,
  Here I have upload the image as formdata,
  ex code - 
  To get the picture from photos,</p>
  
  <pre><code>&lt;input id="uploadImage" type="file" name="attachment" onchange="angular.element(this).scope().uploadFile(this.files)"/&gt;
  &lt;button type="submit" class="ui-btn ui-btn-b" ng-click="post()"&gt; Upload file&lt;/button&gt;
  </code></pre>
  
  <p>JS Coding-
  //CALLS UPLOAD FILE METHOD</p>
  
  <pre><code>$scope.uploadFile = function(files)
  {
     var fd = new FormData();
     //Take the first selected file
     fd.append("attachment", files[0]);
     $localStorage.fd = fd;
  };
  
  $scope.post=function()
   {
      var fd=$localStorage.fd;
      $http.post(httpurl, fd,
         {
           headers: {'Content-Type': undefined },
           transformRequest: angular.identity
          })
      .success(function (res) {
      alert("Image upload successfully");
      })
      .error(function(res){
      alert("Image not uploaded");
  })
  </code></pre>
  
  <p>Now the issue is, image is uploading sometime and not know the actual issue. I have tried to post the same image upload but it's reflects same issue.
  Please share your feedback to fix my issue.
  Thanks in advance.</p>