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

This should fix angular-table.js to work with angular 1.2+