Added dynamic data to the table directive