Put in order · Angular course · Module 9: HttpClient

Data Loading Cycle with Signals

Order the consecutive steps of loading data into signals in a component:

Items to put in order

  • this.loading.set(true);
  • });
  • error: (err) => this.error.set(err.message)
  • this.service.getAll().subscribe({
  • next: (data) => this.list.set(data),

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