Angular 2 Tutorial [4] - Template Directives

preview_player
Показать описание

In this video we will look at template directives such as ngIf, ngSwitch and ngFor
Рекомендации по теме
Комментарии
Автор

great video series! thanks for covering the basics so clearly and quickly!

jdstein
Автор

on 2017 some updated
1)*ngSwitchCase instead of *ngSwitchThen

2)let instead of #
<li *ngFor="let color of colors">{{color}}</li>

aissataourarte
Автор

The ngFor syntax is wrong and outdated. Here is the correct syntax:

<li *ngFor="let color of colors">{{color}}</li>

denskiz
Автор

Is there a big difference between Angular 1 and Angular 2?

leavethematrix
Автор

Angular syntax is awful. It isn't intuitive at all. Vue is so much better than Angular.

alienencore