Foundation Docs for Grid say ...
To work around the various rounding actions of browsers, Foundation will float the last column in a row to the right to align the edge. If your row does not have a counter that contains up to 12 columns, you can mark the last column with an end class to override this behavior.
For instance:
<div class="row"> <div class="medium-3 columns">3</div> <div class="medium-3 columns">3</div> <div class="medium-3 columns">3</div> </div> <div class="row"> <div class="medium-3 columns">3</div> <div class="medium-3 columns">3</div> <div class="medium-3 columns end">3 end</div> </div>
In your case, Angular automatically repeats your div elements with this line:
<div ng-repeat="(photo_id, photo) in photos" class="large-4 columns">
I have no experience with Angular, so I donβt know how you could make the last element different, but I assume there is a way to do this, and I hope this gives you a good start.
source share