~/talk

Demystified Angular Directives

Talkat JSPoland Conf 2017 · on Monday, 2017-06-19· [angular, frontend-architecture]
slides:none on file

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

  1. 0:00Intro
  2. 2:00Nir Kaufman
  3. 3:00Directives
  4. 4:45Magic
  5. 6:10NGS
  6. 13:55Code
  7. 21:55Banana in the Box
  8. 27:40NG Class
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.