bootstrapApplication API
As of Angular v15, you can Bootstrap an Angular application using a standalone component
// ./main.ts
import { bootstrapApplication } from "@angular/platform-browser";
import { AppComponent } from "./app/app.component";
bootstrapApplication(AppComponent).catch((e) => console.error(e));
Support
If you enjoyed this tip and found it useful, consider buying me a coffee. Thanks in advance!