The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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 (219) [Avatar] Offline
#2
Thanks, will add a reference. You'll see the use of the @Directive() decorator in section 11.7 in chapter 11.