moved to ng-table for table formatting