Angular2: filtering ngFor using pipes
Angular2 / Bootstrap4 table
I'm still working on a Stripe administration console for OctoPerf, a SaaS performance testing tool. Stripe lets us manage our customers and their subscriptions.
I have a table that lists all of our customers (Customers.html
):
<table class="table table-striped">
<thead class="thead-default">
<tr>
<th>#</th>
<th>Id</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr *ngFor="#customer of customers; #i = index">
<th scope="row">{{i}}</th>
<td>{{customer.id}}</td>
<td>{{customer.email}}</td>
</tr>
</tbody>
</table>
It's an Angular2 application build using this excellent starter with BootStrap 4.