What is the best way to change the HTML inside an ng-repeat, according to it's current index? I want to output two divs that fill the container vertically, and the third div will fill half, on top of the fourth div which fills another half. Repeat for the next elements. Example in the following image:

I thought of incrementing my $index in the ng-repeat by doing {{$index = $index + 1}}, evaluating the $index inside an ng-if to see if it is the desired value. But I am unable to increment the index that way (when I print it, it shows as 33, 34, 35... etc). Thanks in advance.
EDIT:
As it stands, I forgot to add a small detail. The number 3 and 4, or 7 and 8 need to be printed in the same ng-repeat. This is a carousel (slick-js) and those half-divs need to be in the same "slide" in the carousel. The only way is printing them at the same time, that is, both $index and $index+1, otherwise they are treated as different slideshows.