The powerful template syntax in Angular allows us to easily manipulate the DOM, bind data and control the flow of our application’s user interface. In this article, we’ll be zoning in on three powerful control flow blocks—@if, @for and @switch.
This guide shows how to handle common state management tasks using two popular web technologies. It aims to simplify the process for people new to these technologies and help them evaluate their preferred options for state management.
You know about the Input decorator in Angular. Did you know that Angular 17 brought us signal inputs? Signals allow primitive types to react to changes, and now we can do that via input! This will mean cleaner code that’s easier to maintain!
Angular offers content projection, a more flexible option than using inputs and having to modify the template if we need to update a component. Let’s take a look!