title: How to remove all files in one location in cordova ionic
body: <p>I am new to ionic . I need to remove  all the files in my local drive location. I have tried below query . But it's not working</p>
  
  <pre><code>    $cordovafile.removeFile(cordova.file.documentsDirectory,"filename").then(function(success){
  console log("file removed"),
  function error(error){
  console log("Error")
  });}
  </code></pre>
  
  <p>Please suggest your solution.</p>