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.
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
Learn how to deal with data as a stream of WebSocket data in Angular 2 – published for RC1 using Node, Express, Angular 2 and RxJs.
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.
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.
So you want to hack around with Angular 2 but you don’t have a build environment? No big deal, the Plunker web IDE has just the template for you!