fixed angular-table.js to work with angular 1.2+