Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- ng-repeat="user in vm.users" ng-repeat="profile in vm.profiles -->
- <select class="form-control"
- ng-model="user.profile"
- ng-options="profile.name for profile in vm.profiles | filter: {name: '!{{user.profile.name}}'}"
- ng-value="{{user.profile.$id}}">
- <option value="">{{user.profile.name}}</option>
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement