Angular Templates

Angular 21.2 New Feature: Arrow Functions in Templates (With Gotchas)

Angular 21.2 New Feature: Arrow Functions in Templates (With Gotchas)

February 05, 2026

If you've ever created a method just to call update() on a signal, this one's for you. Writing signal updates directly in component templates used to be impossible, but as of Angular 21.2-next, arrow functions are now allowed in Angular templates! This change lets you write signal transitions exactly where they happen, making templates more expressive and eliminating unnecessary wrapper methods. But while it's incredibly powerful, there are a few caveats you absolutely need to understand.

Angular 21.1: Compose Arrays and Objects Directly in Templates

Angular 21.1: Compose Arrays and Objects Directly in Templates

January 22, 2026

Angular 21.1 introduced a feature that sounds small but eliminates a whole class of helper methods we've all written for years. This update lets you compose arrays and objects directly in templates using the spread operator (...). This means you can merge arrays and extend objects declaratively and keep UI logic where it belongs: in the template. Let's see how it works!

-->