Angular 21

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.

Focus Controls the Signal Forms Way

Focus Controls the Signal Forms Way

January 29, 2026

Have you ever tried to programmatically focus a form field in Angular and ended up with view queries, nativeElements, ElementRefs, and a tiny voice in your head whispering "there has to be a better way"? As of Angular 21.1.0, there is! The Signal Forms API now exposes a method called focusBoundControl() that lets you focus fields easily using a single method call. Instead of manually walking the DOM, you can ask the form directly.

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!

-->