Angular: Empty Fiddle with bootstrap 3
http://angularjs.org/
by anup1986
HTML
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<div class="container" ng-controller="myCtrl">
<div class="row">
<div class="col-md-12">
<h4>
{{::name}}
</h4>
<table class="table table-bordered">
<thead>
<tr>
<th>Account</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="c in doubles">
<td>{{::c.account}}</td>
<td>{{::c.email}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
CSS
body {
margin-top: 50px;
}
JavaScript
var myApp = angular.module('myApp', []);
//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});
myApp.controller('myCtrl', [
'$scope',
function($scope) {
$scope.name = 'Superhero';
var customers = [{
account: '2',
email: '[email protected]'
}, {
account: '3',
email: '[email protected]'
}, {
account: '7',
email: '[email protected]'
}, {
account: '9',
email: '[email protected]'
}, {
account: '10',
email: '[email protected]'
}, {
account: '11',
email: '[email protected]'
}, {
account: '13',
email: '[email protected]'
}, {
account: '15',
email: '[email protected]'
}, {
account: '17',
email: '[email protected]'
}, {
account: '19',
email: '[email protected]'
}, {
account: '21',
email: '[email protected]'
}, {
account: '25',
email: '[email protected]'
}, {
account: '26',
email: '[email protected]'
}, {
account: '27',
email: '[email protected]'
}, {
account: '31',
email: '[email protected]'
}, {
account: '32',
email: '[email protected]'
}, {
account: '33',
email: '[email protected]'
}, {
account: '37',
email: '[email protected]'
}, {
account: '38',
email: '[email protected]'
}, {
account: '42',
email: '[email protected]'
}, {
account: '43',
email: '[email protected]'
}, {
account: '47',
email: '[email protected]'
}, {
account: '48',
email: '[email protected]'
}, {
account: '50',
email: '[email protected]'
}, {
account: '52',
email: '[email protected]'
}, {
account: '53',
email: '[email protected]'
}, {
account: '54',
email:...