New Data Architecture in Angular 2
summary
Angular 2 replaces the old async model with a Reactive Data Architecture built on RxJS 5 and Observables, and exposes a new HTTP API that returns streams instead of promises; apps bootstrap from a single root NgModule using BrowserModule, components use lifecycle hooks (constructor → ngOnChanges → ngOnInit → cleanup) and can manipulate their host element, and the official CLI scaffolds projects with ng new / ng serve while supporting both runtime and ahead-of-time compilation.
AI-written summary · about
