title: Error: [$injector:unpr] Unknown provider: $cordovaFileProvider <- $cordovaFile <- DashCtrl
body: <p>Created a test project to try <a href="http://ngcordova.com/docs/plugins/file/" rel="nofollow">$cordovaFile</a> from ngCordova, But after <em>injecting</em> $cordovaFile to one of the controllers and running xcode project, I see Unknown provider error. </p>
  
  <pre><code>.controller('DashCtrl', function($scope,$cordovaFile) {})
  </code></pre>
  
  <p><strong><em>I really don't see a way for this error to pop-up.</em></strong></p>
  
  <h1>Explained the commands what I ran on terminal below:</h1>
  
  <p>Created a new project using:</p>
  
  <pre><code>1. ionic start writefile
  2. platform ios is added by default (using mac)
  3. cordova plugin add cordova-plugin-file - added file plugin using ngcordova source
  4. ionic build ios
  5. Ran the project using xcode to run on simulator.
  </code></pre>
  
  <p>Debugging the issue, but posting on community which might help me in solving quicker.</p>