fixed ng-table malfunction