@angular/platform-server

renderApplication

function

Bootstraps an instance of an Angular application and renders it to a string.

renderApplication(
bootstrap: () => Promise<ApplicationRef>,
options: { document?: string | Document; url?: string; platformProviders?: Provider[]; }
): Promise<string>;
Jump to details