title: Can't resolve all parameters for File
body: <p>I am trying to implement <a href="https://ionicframework.com/docs/native/file-transfer/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/file-transfer/</a> </p>
  
  <p>Therefor I need to install <a href="https://ionicframework.com/docs/native/file/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/file/</a> </p>
  
  <p>When I use "File" in my service I get the error: </p>
  
  <p>Can't resolve all parameters for File: (?, ?, ?, ?, ?).</p>
  
  <p>I know that the question marks can resemble a circular reference tough I've never user my service anywhere else, nor did i use "File" before.</p>
  
  <pre><code>import {Injectable} from '@angular/core';
  import {File} from "@ionic-native/file";
  import { FileTransfer, FileTransferObject } from '@ionic-native/file-transfer';
  
  @Injectable()
  export class ImageService {
  
    constructor(private file: File, private transfer: FileTransfer) {
  
    }
  
    public getImagesOfSchedule() {
      const fileTransfer: FileTransferObject = this.transfer.create();
      const url = 'http://techbooster.be/wp-content/uploads/2017/11/logo-long-white.png';
      fileTransfer.download(url, this.file.dataDirectory + 'file.pdf').then((entry) =&gt; {
        console.log('download complete: ' + entry.toURL());
      }, (error) =&gt; {
        // handle error
      });
    }
  
  }
  </code></pre>
  
  <p>app.module.ts</p>
  
  <pre><code>providers: [
      StatusBar,
      AuthenticationService,
      ScheduleService,
      ToastService,
      StorageService,
      FacebookService,
      GoogleService,
      ImageService,
      Facebook,
      GooglePlus,
      PushService,
      File, &lt;----------------
      FileTransfer, &lt;--------------
      Push,
      ScreenOrientation,
      {
        provide: HttpService,
        useFactory: HttpFactory,
        deps: [XHRBackend, RequestOptions]
      },
      {
        provide: HttpNoAuthService,
        useFactory: HttpFactory,
        deps: [XHRBackend, RequestOptions]
      },
      SplashScreen,
      {provide: ErrorHandler, useClass: IonicErrorHandler}
  </code></pre>