~/talk

Getting to Angular 2

Talkat ng-europe 2016 · 2016-10-25..10-26· [angular, legacy-modernisation]
slides:none on file

A concrete migration path shows AngularJS and Angular 2 running side-by-side using ngUpgrade, a custom URLHandlingStrategy to let both routers coexist, and rewriting pages one-by-one while keeping shared services available. A Google app of about 450,000 lines migrates iteratively, gains AOT and smaller bundles (~22–40 KB), and uses lazy loading per-page modules successfully in the demo. Caveats: old $compile directives cannot be upgraded, route events differ between routers, and services that live in lazy child injectors must be hoisted into the root to remain accessible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Why Angular 2
  3. 4:04ng upgrade
  4. 9:04ng to router
  5. 12:27migrating to Angular 2
  6. 15:28lazy loading
  7. 20:57cautionary notes
~/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.