aganglada / ng-chosen

angular directive implemented with chosen jquery plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

angular directive implemented with chosen jquery plugin

License:MIT License


Languages

Language:HTML 50.5%Language:JavaScript 49.5%