reduced number of HTML elements for spaces, by using ng-repeat