Update ngTable to 0.3.1
It’s a big change that requires a lot of code modification but the API is indeed better