Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="ngexample">
<head>
    <meta charset="utf-8">
    <title>ngexample - </title>
    <script src="//code.jquery.com/jquery.min.js"></script>
    <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" />
    <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
</head>
<body ng-controller="MainCtrl">
    <table class='table table-bordered'>
        <tbody ng-repeat="(k,v) in fruits">
            <tr ng-if='$even'>
                <td>{{fruits[k]}}</td>
                <td>{{fruits[k+1]}}</td>
            </tr>
        </tbody>
    </table>
                
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
Cod1ngNinjapro
0viewers