<!DOCTYPE html>
<html>
<head>
<script data-require="jquery@*" data-semver="3.0.0" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.js"></script>
<link data-require="bootstrap@*" data-semver="4.0.0-alpha.2" rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css" />
<script data-require="bootstrap@*" data-semver="4.0.0-alpha.2" src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
<script data-require="angularjs@1.5.8" data-semver="1.5.8" src="https://opensource.keycdn.com/angularjs/1.5.8/angular.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
</head>
<body ng-app="myApp">
<h1>Hello Plunker!</h1>
<div class="row" ng-controller="MyController">
<div ng-repeat="data in datas" ng-style="$index % 3 === 0 ? {'float': 'left', 'clear': 'both'} : {'float': 'left'}">
<div class="clearfix" ng-if="$index % 3 == 0"></div>
<div class="col">
<ul name="{{data.name}}">
<li>
<img class="drinks-placeholder" data-ng-src="img/{{data.image}}" />
</li>
<li>{{data.option1}} - {{data.option2}} </li>
<li>{{data.detail}}</li>
</ul>
</div>
</div>
</div>
<script>
var module = angular.module("myApp", []);
module.controller("MyController", ['$scope', function(scope){
scope.datas = [
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'},
{name: 'dog', image: '', option1: '1', option2: '2', detail: 'It is a dog'}
];
}]);
</script>
</body>
</html>