Angular 1 Components
Can Be:
transclude: true,
require
Slide 28
Slide 28 text
Angular 1 Components
Must Not Be:
compile
replace: true
priority
terminal
Slide 29
Slide 29 text
.component()
Slide 30
Slide 30 text
Angular 1 Services
Slide 31
Slide 31 text
Angular 1 Services
Pretty Straightforward
Slide 32
Slide 32 text
Angular 2 Components
Slide 33
Slide 33 text
Angular 2 Services
Slide 34
Slide 34 text
Transclusion/Content Projection
Slide 35
Slide 35 text
Transclusion/Content Projection
Slide 36
Slide 36 text
Transclusion/Content Projection
Slide 37
Slide 37 text
Component Tree
Slide 38
Slide 38 text
Component Tree
Slide 39
Slide 39 text
angular.io/docs/ts/latest/guide/upgrade.html
Slide 40
Slide 40 text
Upgrade Strategy
Slide 41
Slide 41 text
Stuff You Can Do Now
Slide 42
Slide 42 text
Stuff You Can Do Now
• Code in TypeScript/ES6
Slide 43
Slide 43 text
Stuff You Can Do Now
• Code in TypeScript/ES6
• Use a module loader
Slide 44
Slide 44 text
Stuff You Can Do Now
• Code in TypeScript/ES6
• Use a module loader
• Convert factories/services/providers to
Services (ES6 Classes)
Slide 45
Slide 45 text
Stuff You Can Do Now
• Code in TypeScript/ES6
• Use a module loader
• Convert factories/services/providers to
Services (ES6 Classes)
• Convert Directives to Components
Slide 46
Slide 46 text
Upgrade Time
Slide 47
Slide 47 text
Upgrade Time
• Launch as hybrid app (UpgradeAdapter)
Slide 48
Slide 48 text
Upgrade Time
• Launch as hybrid app (UpgradeAdapter)
• Migrate components
Slide 49
Slide 49 text
In The Future
Slide 50
Slide 50 text
In The Future
Drop ng1
Slide 51
Slide 51 text
In The Future
Drop ng1
Bask in glory
Slide 52
Slide 52 text
Let's Upgrade
Something
Slide 53
Slide 53 text
Super Bowl Squares
http://www.zpoolz.com/main/Poolz_Football/2015/2016sbs5.jpg