• Get a template from the server by fetch request and caching the retrieved result

    Parameters

    • path: string

      The web-accessible HTML template URL

    • Optionalid: string = path

      An ID to register the partial with.

    Returns Promise<TemplateDelegate<any>>

    A Promise which resolves to the compiled Handlebars template