code: function (dataContext, container) {
                      if (this._shouldCompile) {
                          try {
                              this._renderImpl = this._compileTemplate({ target: "render" });
                              return this._renderImpl(dataContext, container);
                          } catch (e) {
                              return Promise.wrapError(e);
                          }
                      }
  
                      var render = interpretedRender(this, dataContext, container);
                      return render.element.then(function () { return render.renderComplete; });
                  }
docs: Hook point for compiled template