AngularTS
    Preparing search index...

    Type Alias TemplateRequestService

    TemplateRequestService: (templateUrl: string) => Promise<string>

    Downloads a template using $http and, upon success, stores the contents inside of $templateCache.

    If the HTTP request fails or the response data of the HTTP request is empty then a $compile error will be thrown (unless {ignoreRequestError} is set to true).

    Type Declaration

      • (templateUrl: string): Promise<string>
      • Parameters

        • templateUrl: string

          The template URL.

        Returns Promise<string>

        A promise whose value is the template content.