is it possible to use the ng-if condition with a == condition? Like --ng-if='id = 1' ? Here is how i'm using it:
.col-md-3(ng-repeat="user in refs.userList | orderBy : 'department.id'", ng-if="user.department.id")
I want to display only users which are from the departement id number 1. How can i do that?
Thanks,
Nicolas
Aucun commentaire:
Enregistrer un commentaire