Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 877 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 877 Bytes

angular-chosen

Create Chosen dropdowns with ease in angular.

Check out the docs at: http://adityasharat.github.io/angular-chosen/

Get the latest version for angular 1.3.x here

Get the version for angular 1.2.x here

Bower Support

bower install angular-chosen-js

How to use:

  • Include this module in your angular app.
	angular.module('myModule', ['angular.chosen']);

Just add 'chosen' as an attribute to a <select> to convert it to a chosen drop down.

  • options : options for the drop down.
  • model : to what is the chosen binded to.
<select chosen options="properties"
        ng-model="property.name"
        ng-options="p.name as p.name for p in properties">
</select>