# Signals and Observables Together

toSignal turns an observable into a signal, subscribing straight away and unsubscribing when the component goes, so a template reads API data like any signal. For loading and error states, subscribe and set signals for the data, the loading flag and the message.

![Cheat sheet: Signals and Observables Together](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/08dc56c6fe9c4408a5bd320602fa0f33.webp)

- Category: Angular
- Level: Journeyman
- Tags: angular, toSignal()
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/calling-apis-from-angular-signals-and-observables-together-cheat-sheet
