Uploaded April 2026 | Updated November 2026, 3 hours ago
In this video, we continue Phase 2 of the Modern Angular course by moving from writable state to computed state.
Now that searchTerm is in place, we use computed() to calculate a filtered product list, connect the UI to that computed value, and provide clear feedback when no results match.
In this video, you'll learn:
• How to create computed state with computed()
• How to calculate filteredProducts from searchTerm and products
• How to normalize search input with trim() and lowercase matching
• How to switch @for rendering from products() to filteredProducts()
• How to add an accessible no-results UI state with @empty
• Why computed signals simplify reactive UI transformations
📦 Source code repository:
github.com/loiane/modern-angular
🎥 Full Modern Angular course playlist:
youtube.com/playlist?list=PLGxZ4Rq3BOBqJfR254ZMuBfFRMeyr162U
📌 This course is for:
• Developers new to Angular
• Developers upgrading from older Angular versions
🔔 Subscribe to follow the full Modern Angular course.
⏱️ Chapters
00:00 Introduction
00:17 Add the Computed Filter
03:39 Update Template Rendering
04:08 Empty State Message
04:58 Recap and Pattern Reuse
#ModernAngular #AngularCourse
In this video, we continue Phase 2 of the Modern Angular course by moving from writable state to computed state.
Now that searchTerm is in place, we use computed() to calculate a filtered product list, connect the UI to that computed value, and provide clear feedback when no results match.
In this video, you'll learn:
• How to create computed state with computed()
• How to calculate filteredProducts from searchTerm and products
• How to normalize search input with trim() and lowercase matching
• How to switch @for rendering from products() to filteredProducts()
• How to add an accessible no-results UI state with @empty
• Why computed signals simplify reactive UI transformations
📦 Source code repository:
github.com/loiane/modern-angular
🎥 Full Modern Angular course playlist:
youtube.com/playlist?list=PLGxZ4Rq3BOBqJfR254ZMuBfFRMeyr162U
📌 This course is for:
• Developers new to Angular
• Developers upgrading from older Angular versions
🔔 Subscribe to follow the full Modern Angular course.
⏱️ Chapters
00:00 Introduction
00:17 Add the Computed Filter
03:39 Update Template Rendering
04:08 Empty State Message
04:58 Recap and Pattern Reuse
#ModernAngular #AngularCourse










