code: function FileStorage($q, $rootScope) {
          this.version = "0.1";
          this.q = $q;
          this.rootScope = $rootScope;
          this.grantedBytes = 0;
          this.fs = null;
          this.urlPrefix = '';
          this.storageType = null;
  
          this.initDone = false;
          this.initPromises = [];
          this.initTimer = null;
      }
docs: Constructor