angular.chosen
v1.0.0
Published
Custom plugin for angular chosen
Downloads
52
Readme
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>