docs: function () {
              this.preload();
  
              $loadImgPromise.done(function loadImgSuccess(img) {
                  if (!imageLoaded) {
                      imageLoaded = true;
                      $img = $(img).appendTo($el);
                  }
              });
  
              $loadImgPromise.fail(function loadImgFail(error) {
                  imageLoaded = false;
                  if (error) {
                      scope.broadcast('asseterror', error);
                  }
              });
  
              return $loadImgPromise;
          }