Changed database rows list to use ngGrid