~/talk

Advanced DI

Talkat ngVikings 2018 · 2018-03-01..03-02· [angular]
slides:none on file

Code-heavy demo builds an animals app that registers components as an interface by providing them at component scope and then uses useExisting aliasing plus the read parameter on a directive to pull the actual component instances out of their per-component injectors. The surprising claim is that contentChildren looks into injectors so querying for the abstract-class token returns all animals. A DOM border shows elementRef manipulation and QueryList.changes demonstrates lifecycle gaps — the solution works.

AI-written summary · about

  1. 0:00Start
  2. 6:10Service shadowing
  3. 7:10AnimalContainerComponent holds references
  4. 13:15Fun facts
~/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.