Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 818 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 818 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

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>