Angular · Junior · Question 5 of 75

How is a standalone Angular application started?

Explanation

bootstrapApplication renders the root component and takes an ApplicationConfig with providers such as provideRouter(routes) and provideHttpClient(). bootstrapModule is the older NgModule-based way.

Further reading

Problem with a question

Angular · Junior · question 5

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz