Contents tagged with Angular

  • Angular 2 Services and Http Client

    Let's talk about Angular services! Too many examples I've read online have the component talk directly to the data source. This is not considered a best practice. Your components should delegate data calls to a service. So let's look closer at that. The full source for this post is available on GitHub: Continue reading...

  • Angular 2 Routing

    In the previous post I went step-by-step to create an Angular 2 "Hello World" application. The code for that post is available on GitHub here. In this post I want to extend the "Hello World" app and look closer at the Angular routing in there. Continue reading...

  • Angular 2 First Look (Hello World!)

    Last week Google announced the final release of Angular 2. I'm not one for messing around with the alphas and RCs but now it's time to take a close look. In this post I'm going to walk through the steps to create a bare bones project. It will contain a single component but no pipes, directives, or anything more advanced. I owe Dan Wahlin and John Papa a shout out here because I studied code they checked into their GitHub repos in order to get to this point myself. Continue reading...

  • SignalR with MVC 5, AngularJS and Web API

    In my last post I walked through an ASP.NET MVC 5 solution that used SignalR, Web API, and Knockout for data binding. I said that my next stop was AngularJS. So now I want to compare and contrast Knockout with Angular. This post is going to revisit that solution using AngularJS instead of Knockout. Continue reading...