Coding task · Angular course · Module 5: Services and DI

Practice: Communication via a service

A service holding a signal (or a Subject) can be used for communication between components: components read the signal and Angular updates the view on every change.

Task

Complete the communication service that uses Signals to share state.