Double check that you have a property name right in the code.
You can print the u
object as json with
<pre>{{u | json}}</pre>
I am sure that if the value is in the database and is not false or null, then you have the wrong name, not isAdmin
, but something else.
EDIT: Looks like I was right, and you used the admin
property name instead.
source share