minimal version changing number of rows in grid with angular