~/talk

Hacking the Angular compiler with your own syntax

Talkat revo.js 2019 · 2019-10-03..10-04· [angular]
slides:none on file

Demonstrates replacing Angular template syntax with emoji and adding reactive template primitives by hooking into the build: a custom HTML loader rewrites external templates, a TypeScript transformer (using tsquery on the AST) rewrites inline template strings, and ngx-build-plus is used to flip the compiler option directTemplateLoading and inject a new compiler instance. The demo shows emoji → verbose directives emitted at build time (AOT/JIT) and a published GitHub library for observable-event decorators that works in practice.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:57Angular compiler overview
  3. 14:10Custom HTML loader setup
  4. 18:44Emoji syntax demo
  5. 25:27Practical use case with reactivity
  6. 29:21Key takeaways and conclusion
~/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.