Skip to content

fellou89/cs-angular-chosen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>