NG1 || NG2

Mykhailo Churilov

Lead software engineer

"Svitla Systems"

mykhailo.churilov@gmail.com

https://github.com/kobvel

What to learn?

What to use?

Angular 1.*

Angular 2

Angular 1.*

Angular 2

still in beta

easy to start

component based

performance

native mobile apps

complexity

performance

component based

increase  performance

We want to increase flexability 

We want to increase maintainability

​We want to make easier refactoring

We want to try reuse our code

We want to start dealing with Angular2

TypeScript 

Interfaces

Angular 

ecosystem

TypeScript 

defenitions

Angular 

components model

Architecture patterns

+ Typescript

Angular 1.5 + Typescript

Time

Complexity

Angular 1.5

(ng2 style)

app component(root)

layout

sideblock

widget 1

widget 2

Text

Components

Component based structure

Component vs Directive

no factories

avoid two-way data bindings

module piping in separate file

TypeScript, ES6

Alternative ways

ng-forward

 

a1atscript

 

angular-decorators

 

Angular2 Now

Questions?

Ng1->Ng2

By Mikki Churilov

Ng1->Ng2

  • 1,003