~/talk

Angular and RequireJS

Talkat ng-conf 2014 · 2014-01-16..01-17· [angular]
slides:none on file

Argues that Angular injects instances while RequireJS injects classes, and shows a working demo (a 24-class quiz app on GitHub) wired with define/require/config so files load lazily and bootstrap reliably. Explains using Grunt’s requirejs optimizer and head.js to switch between dev lazy-loading and a single minified deploy file, demonstrates how define returns cached constructors/functions, and proves the approach reduces manual ordering and scales beyond single-file concatenation.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:28Do you need RequireJS?
  3. 3:54RequireJS dependency types
  4. 5:17Synergy with Angular
  5. 7:05Defining modules
  6. 9:58RequireJS registry and triggers
  7. 11:22Wrapping Angular code
  8. 13:33Angular module registration
  9. 14:16Deployment with Grunt
  10. 16:20Demo walkthrough
  11. 19:40Closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.