Review comment code changes

Changed subheader scope variable to subheaders
Changed specification for table controller
Sort-ascent and sort-descent classes are added in ng-class
Changed table controller code as per review comments

Signed-off-by: Jay Patel <jaypa@cybage.com>