Within a block of div tags, an ng-repeat directive is being used to display sets of 3 divs at a time. By clicking on the next button, the next set of 3 divs should be displayed, and the same goes for the previous button.
Check out the HTML code below:
<div ng-click="">next</div>
<div ng-click="">prev</div>
<div ng-repeat="event in events" ng-hide="$index>2">
<div class="event-description">{{event.description}}</div>
<span class="event-time">{{event.time}}</span>
<span class="event-product">{{event.product}}</span>
</div>