Angular Signals Basics
Angular Signals Basics: free step-by-step lesson with examples, common mistakes, and interview tips — part of Angular Tutorial on Toolliyo Academy.
On this page
Angular Tutorial · Lesson 47 of 100
Angular Signals Basics
Setup & Components ✓ → Routing HTTP Rx → State & Perf → Ship & Projects
Routing HTTP Rx · 2 — Data · ~6 min · RxJS and Signals
What is this?
Signals are reactive values Angular can track finely for templates and computed state — sync-friendly alternative to many Subject patterns.
Why should you care?
Local UI state (filters, counters, selected id) is clearer with signals in modern AngularVerse screens.
See it live — copy this example
Run examples in an Angular CLI project (ng serve). Prefer standalone components and TypeScript strict mode.
import { signal, computed } from '@angular/core';
count = signal(0);
double = computed(() => this.count() * 2);
inc() { this.count.update(v => v + 1); }
What happened?
- signal holds a value.
- Read with count().
- computed derives values.
- update/set change state and refresh dependents.
Practice next
- Add a counter to a component template.
- Show double().
- Reset with set(0).
- Add a disabled = computed(() => this.count() > 10).
- Wire a button to inc().
Remember
Signals store sync state. computed is derived. Use () to read.
Filter chip state
Toggle active filters.
Outcome: Template updates without manual detectChanges.
Interview prep for this lesson
Practice these questions aloud after reading—each links to a full structured answer.
Sign in to ask a question or upvote helpful answers.
No questions yet — be the first to ask!