Switched status symbol class to use class attribute rather than ng-class directive
Replaced ugly ternary if type angular with a call to a function
Moved sorting into function
Merge pull request #336 from tombee/angular-cleanup

Clean up some of the ugly angular we have for sorting