Suggest an editImprove this articleRefine the answer for “How to create a signal in Angular?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`signal`** is created using the `signal()` function from `@angular/core`. It takes an initial value, and afterward `counter()` is used to read the value, while `set()` or `update()` are used to change it. **Key point:** `signal(0)` creates a signal, `counter()` reads the value, `set()` and `update()` change it.Shown above the full answer for quick recall.Answer (EN)ImageA `signal` is created using the `signal()` function from `@angular/core`. It takes an initial value. Example: ```ts import { signal } from '@angular/core'; const counter = signal(0); ``` Now `counter()` is used to read the value, while `set()` or `update()` are used to change it: ```ts counter(); // get the value counter.set(5); // set a new value counter.update(v => v + 1); // change based on the previous one ```For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.