ng-chosen

angular directive for chosen jquery plugin

Usage no npm install needed!

<script type="module">
  import ngChosen from 'https://cdn.skypack.dev/ng-chosen';
</script>

README

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