Simple user picker
ng-model:
{{ firstModel.selected }}
An enhanced version of the original luid-user-picker, based on the luid-select directive.
ng-model: the selected user. If you are using the luid-user-picker-multiple directive, the ng-model is an array which contains the selected users.on-select: function which will be called when an item is selected (default: nothing)on-remove: function which will be called when an item is removed (multi-select or emptying the input) (default: nothing)control-disabled: boolean indicating if you want the control to be disabled (default: false)allow-clear: boolean indicating if you can clear the current value (default: false)show-former-employees: boolean indicating if you want to fetch former employees or not (default: false)homonyms-properties: list of properties you want to display in case of homonymscustom-filter: function that filters users. For a given user, it returns if he should be kept in the set of results or not. This function should respect the following signature: function(user){ return boolean; }app-id: the set of results should have access to the application matching this idoperations: list of operations that the set of results should support for the given applicationcustom-info: function that will return the information to display next to each user. It should respect the following signature : function(user) { return string; }custom-info-async: Same idea than custom-info, except that the information is fetched asynchronously. It has to be a function with the following signature: function(user) { return promise; }display-me-first: boolean indicating if you want to display the connected user as first result if he belongs to the set of resultsdisplay-all-users: boolean used to force the directive to disable paging and display all the users (default: false)bypass-operations-for: list of user ids to display even if they does not have
access to operations in operations attribute. Warning: if the current user can't see one of the users, it will not be displayed and a 404 error will occur
ng-model:
{{ firstModel.selected }}
ng-model:
{{ users.selected }}