397519 (3) [Avatar] Offline
#1
Section 2.3 confuses me because it says "A directive is a class annotated with the @Directive() decorator," however it never uses this then proceeds to implement a structural directive and an attribute directive. I understand that these are built-in directives, but mentioning the @Directive decorator and never using it leaves me wondering how it should be used.
Yakov Fain (213) [Avatar] Offline
#2
Thanks, will add a reference. You'll see the use of the @Directive() decorator in section 11.7 in chapter 11.