Demystified Angular Directives
summary
Live coding reimplements core directives so the page shows exactly how ngIf, ngFor, ngModel and ngClass are built and wired — Angular CLI project, ng-template expansion, TemplateRef and ViewContainerRef for structural directives, Renderer for class manipulation, and Input/Output + EventEmitter for banana-in-a-box two‑way binding. The demo produces ddIf, ddFor, ddCounter and ddClass components that mostly work with small live‑coding hiccups, proving the claim that directives are simple once the compiler’s transformations are understood.
AI-written summary · about
chapters (8)
related talks
14mKick Your Components up a Notch with Directives BAM!
40mAdvanced UI, Plugins and Components in AngularJS
35mUp-close with Structural Directives
30mReactive parenting with Angular 2
01h 00mIntroduction to Angular 8
30mHow Angular works
06mThe magic of template reference variables
22mIt’s alive! Dynamic components in Angular
