Signals are functions that return their current value. The component template is guaranteed to be updated when the signal value changes.
TypeScript helps catch errors when using signals of different types. Signals can also be used with Angular's ngFor
directive to loop over arrays.