Put in order · Angular course · Module 9: HttpClient

HttpClient Import Syntax

Arrange the single-line tokens that import HttpClient from the Angular library:

Items to put in order

  • from
  • import
  • { HttpClient }
  • '@angular/common/http'

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