AngularJS + ASP.NET Web API: Building a simple grid in AngularJS with server-side paging, sorting, searching (Part 6)

In this post, I’ll incorporate the ability to sort the grid based on either the last name or the first name.

First, modify the API GetStudents method to be as follows

Continue reading


pattern for designing a service in angular

I’ve been experimenting with a few patterns that I can use on a consistent basis when I write my services in Angular.js  and the Revealing module pattern seems to be the most elegant solution for this purpose