added ngTable sorting and filtering