simplified the object that goes into the table

you just pass in a 'rows' object now and it is formatted in the directive