Question · Angular course · Module 9: HttpClient

Registering HttpClient

Which function do we use in app.config.ts to make HttpClient available in a standalone application?

Answer options

  • HttpClientModule in imports
  • provideHttpClient()
  • provideHttp()
  • importHttpClient()

You can check the correct answer by solving this task in the CodeWorlds game.