Put in order · Angular course · Module 5: Services and DI

Reading a signal in the template

Arrange the reading of the totalItems signal from the service in the template (one line, without the {{ }} braces):

Items to put in order

  • (
  • totalItems
  • cartService
  • .
  • )

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