JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app ng-controller="test">
    <span ng-repeat="result in results" class="result">
        <span class="col-md-2 padding">{{result}}
            <br ng-if="(($index+1) % 4) === 0" />
        </span>
    </span>
</div>

JavaScript

function test($scope) {
    $scope.results = [1, 2, 3, 4, 5, 6, 7, 8];
}