Skip to content

Instantly share code, notes, and snippets.

/.html

Created Sep 20, 2015
Embed
What would you like to do?
inline table?
<div ng-app="myApp" ng-controller="ctrl">
<div class="row">
<div class="col-md-4">
<div style="display:inline-block; min-height:290px;">
<datepicker ng-model="dt" min-date="minDate" max-date="maxDate" class="well well-sm"></datepicker>
</div>
</div>
<div class=".col-md-8">
<table class="table table-hover">
<thead>
<tr>
<th>Name:</th>
<th>Id</th>
<th>something?</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="usr in students">
<td>{{ usr.name }}</td>
<td>{{ usr.id }}</td>
<td>{{ usr.something }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment