1.0.2 • Published 9 years ago

ng-chosen v1.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

ng-chosen

ng-chosen is a directive written in angular 1.x which uses the chosen jquery plugin to make it as usable as the plugin is.

Install

npm install ng-chosen

Usage

1.

angular.module('app', ['ng-chosen']);

2. 

<select ng-chosen name="test" id="test">
    <option>Normal Select Box 1</option>
    <option>red</option>
    <option>black</option>
    <option>yellow</option>
    <option>orange</option>
    <option>blue</option>
    <option>brown</option>
    <option>green</option>
    <option>white</option>
</select>

Links