Sorting in Angular js controller (along with paging)

Considering the problem of sorting only a handful of items that are on the current page, I guess sorting using the "orderBy" filter inside ng-repeat tag is not a good idea. So the solution is to apply sorting in AngularJS controller and here is how you can do that.

Sorting in Angular JS along with paging - (in View)

Below is the code for applying sorting in Angular js table along with paging applied. In this code the sorting is done on the view only i.e. sorting is done using attributes in the ng-repeat tag itself.

Comparitive study of AngularJS, KnockoutJS and ReactJS

Here is a high level comparison of AngularJS, KnockoutJS and ReactJS. Going through this comparison might just help you in deciding which framework/library to choose for your project.

Generic way to access the members of an object and their values in C#

There might be situations where you want to loop through the members of an object or you want to create some generic means to access the members of one or more classes, so here is how you can access the members of an object in C# in a generic manner.

Drag and Drop using jquery ui


Here is a small sample that demonstrates the use of jQuery UI's drag and drop functionality

Calling a Oracle S.P. that is returning REFCURSOR through Entity Framework

Here are the steps for how to call Oracle S.P. that is returning REFCURSOR through Entity Framework :-

Restrict desktop application to single instance using MUTEX

Here is the code to restrict a desktop application to single instance (for creating single instance per user application follow the link).

Single instance per user of desktop application (.NET)

Here is the code to restrict a desktop application to single instance per user (for single instance desktop application follow the link).

Hide Bootstrap Datetimepicker Decade view

Many people want to hide Bootstrap Datetimepicker's decade view. Here's the simplest way to do this...