RxJs

Testing Angular 2.0.x Services and Http with Jasmine and Karma

So you’d like to test your HTTP services in Angular 2.0 but you don’t know how? Have some background in Angular 1’s ngMock library? Or just want to see how it’s done? Read this article and follow along with the provided GitHub repo to learn how. Chariot’s Ken Rimple, co-author of our Angular 2 and React training courses, shows you how.

Angular 2 RC1 and more announced – ng-conf 2016 recap

Well, another ng-conf has come and gone, and this one produced the first official release candidate of Angular 2.0 (RC1). There were tons of things happening here at the conference, and I know I can't give you a complete rundown, but here are a few big highlights. The big release – Angular 2.0.0-RC1 Yep, it's … Read More

Angular 2 Beta 0 (somnambulant-inauguration) lands – Small App with Rxjs, TypeScript

Now that sonambulent-inauguration, properly known as Angular 2.0.0-beta.0, has dropped, let’s see what the public API is shaping up to be. We’ll review how to create a component from the application bootstrap, using the Http API to fetch a JSON object from HTTP, and see how the template API has changed now that we have to use camelCased property names.

Angular2 Observables, Http, and separating services and components

What Angular1 brought, Angular2 takes away – for a good reason. No more Promises in ng2! See how observables make Angular2 a reactive, functional platform. We’ll roll up our sleeves and get something practical done with Angular2’s Http service, and we’ll get some data via the new Http service – it's quite a bit different than the Angular 1 $http service semantically, but serves the same purpose, but is also more fully featured.