hello guyz in the image above am trying to show a button if the character isDead = true but the button doesn't display. here is my code:
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>isDead</th>
<th>Resurrect</th>
<th>Increase Age</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr ng-hide="products.length">
<td colspan="3" class="text-center">No Data</td>
</tr>
<tr ng-repeat="item in products">
<td>{{item.name}}</td>
<td>{{item.age}}</td>
<td>{{item.isDead}}</td>
<td ng-if="item.isDead == 'true' ">
<button class="btn btn-success">Resurrect</button>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
thanks for your help