sorting functionality working on all columns
sortpredicate is configurable and can be send as an attribute to directive
removed JS based approach to generate markup and used ng-repeat to generate the table