Angular control flow basics

Published: 03 November 2023
on channel: Brian Treese
142
2

In the latest version of Angular, we’re getting what is known as the new Control Flow syntax for our component templates. It will replace older directives for things like ng if/else, ngSwitch, and ngFor. It will also remove the need to import the Angular Common Module just for simple template logic. In this video we’re going to learn exactly what this change means for us and how to use it. Alright, let’s get to it.

------------------------------------------------------------------------------

👕 Be the coolest developer in the room with these Angular tees! (https://www.teepublic.com/user/dev-drip)

------------------------------------------------------------------------------

🔗 Demo Link:
https://stackblitz.com/edit/ttnwwm

------------------------------------------------------------------------------

📖 Chapters:
0:00 – Introduction
0:34 – Angular Control Flow syntax for if/else conditions
2:30 – Angular Control Flow syntax for switch statements
4:37 – Angular Control Flow syntax for for loops
6:27 – Angular for loop empty template
6:49 – Angular for loop additional properties
8:49 – The Angular Control Flow migration schematic

------------------------------------------------------------------------------

#angular #angulartutorial #angularcourse


Watch video Angular control flow basics online without registration, duration hours minute second in high quality. This video was added by user Brian Treese 03 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14 once and liked it people.