~/talk

Going Postal with Angular in Promises

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

Explains why promises are more than callback sugar and shows concrete Angular 1.2 uses: $http/$timeout return promises, $resource exposes a .promise property, deferred = postman as the only resolver, and resolve in routes to block route change until data is ready. Demonstrates UI Bootstrap modal.result chaining, service-wrapped lazy promises for global access, HTTP interceptors that pause requests by returning unresolved promises, and notes native Promises arriving in Chrome 32.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:44Problems with callbacks
  3. 4:14Promises as problem solvers
  4. 6:23Declarative async with promises
  5. 8:51Promises and deferred explained
  6. 10:59User uncertainty and promises
  7. 11:42Promises in Angular basics
  8. 14:11Route resolution in Angular
  9. 16:18Third-party promise usage
  10. 17:22Referencing unresolved promises
  11. 18:26HTTP interceptors with promises
  12. 19:29Native promises and future
~/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.