Chosen Directive Example Usage

Chosen with a promise: {{foo | json}}

Chosen with a promised hash: {{baz | json}}

Chosen with static options: {{ bar }}

Passing options in as a hash: {{ woo }}

Disabling the element with a message when the collection is empty: {{ whatever }}

Empty?

Changing the ngModel externally: {{ myPets }}

Disabling the selection:


Form validation

Shows error after user selects nothing (works with Angular 1.3+, uses $touched + $invalid)

Error: {{form.fun.$error}}

#179 - inherit-select-class inside ng-if:


#59 - Don't scroll to top when selecting multiple items with ctrl