code: function initEnd(self) {
          fidj.safeApply(self.rootScope, function() {
              for (var i= 0; i < self.initPromises.length; i++) {
                  self.initTrigger(self.initPromises[i]);
              }
              self.initDone = true;
              self.initPromises = [];
              self.initTimer = null;
          });
      }
docs: Public API