I have just started working with Angular 2.
I was wondering what are the differences between components and directives in Angular 2?
To complete what Günter said, we can distinguish two kinds of directives:
NgFor
and NgIf
. These ones are linked to the template concept and must be prefixed by an *
. See the section "Templates and *" in this link for more details: http://victorsavkin.com/post/119943127151/angular-2-template-syntaxHope it helps you, Thierry