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
Смотрите видео Angular control flow basics онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Brian Treese 03 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14 раз и оно понравилось людям.