tried adding directive for table data. did not work