Angular 2 - 4

Angular - cli 

Angular CLI 

  • npm install -g @angular/cli
  • ng new uygulama-adı
  • ng serve

Angular Forms

  • Template Driven
  • Reactive

Template-driven

  • Easy to use
  • Similar to Angular 1
  • Two way data binding->minimal component code
  • Automatically track form and input element state

Reactive

  • More flexible->more complex scenarios
  • Immutable data model
  • Easier to perform an action on value change
  • Reactive transformation->DebounceTime or DitinctUntilChange
  • Easily add input elements dynamicaly
  • Easier to Unit Testing

Check List

  • Review module concepts
  • Code along assistance
  • Revisit as you build

Demo(Sample App)

  • Reactive form
  • Routing
  • Data Access Service

Required

  • Angular modules (NgModule)
  • Components
  • Templates
  • Binding
  • Services
  • Routing

Suggested

  • Angular 2: Getting Started
  • Angular 2: First Look

Not Required

  • Prior Angular forms knowledge

Angular

By Talip Akhan

Angular

  • 136