Update ng-table.js

https://github.com/esvit/ng-table/issues/283