angular update table when data changes