I have recieved object from server and trying to display its fields in table. All fields are displaying well but boolean is always displaying as "no".
<tr ng-repeat="u in ctrl.users">
<td><span ng-bind="u.id"></span></td>
<td><span ng-bind="u.name"></span></td>
<td><span ng-bind="u.age"></span></td>
<td><span ng-bind="u.isAdmin ? 'yes' : 'no'" ></span></td>
</tr>
I was trying to add filter, but result was the same.
<td><span ng-bind="u.isAdmin" ></span></td>and see what you gotisAdminproperty, so try the following to print out it's entire contents<pre>{{u | json}}</pre>