code: @Override
      public void link(NGScope isolateScope, final JQElement element, JSON attrs) {
          Object o = isolateScope.get(getName());
          if (o == null) {
              String text = element.text();
              append(element, text);
          } else if (o instanceof String) {
              String filename = (String) o;
              http.get(filename).then(new Done<Response> () {
  
                  @Override
                  public void call(Response value) {
                      append(element, value.getText());
                  }
              });
          } else if (o instanceof TextResource) {
              TextResource resource = (TextResource) o;
              String text = resource.getText();
              append(element, text);
          } else {
              LOG.warning(getName() + " did not recognize the type of value passed to it.");
          }
      }
docs: Replaces the element body with the TextResource passed via gwt-prettify
  attribute. TextResource is processed by {@link Prettifier} service.