Preslav's Thoughts and Ramblings

angular2

  • 01 May 2016

    FIX: Angular2 - Missing Http Observable.map Function

    The first Http example that most new Angular 2 users get to try their hands on, is this code snippet taken from the Angular 2 Http Docs: import {Http, HTTP_PROVIDERS} from 'angular2/http'; @Component({ selector: 'http-app', viewProviders: [HTTP_PROVIDERS], templateUrl: 'people.html' }) class PeopleComponent { constructor(http: Http) { http.get(...