Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirederik/angular-multiselect-typeahead
A simple and easily customizable angularjs directive to a multiselect typeahead input box.
https://github.com/kirederik/angular-multiselect-typeahead
Last synced: 29 days ago
JSON representation
A simple and easily customizable angularjs directive to a multiselect typeahead input box.
- Host: GitHub
- URL: https://github.com/kirederik/angular-multiselect-typeahead
- Owner: kirederik
- Created: 2015-06-03T16:56:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-15T20:18:46.000Z (over 9 years ago)
- Last Synced: 2024-11-24T04:06:40.680Z (about 2 months ago)
- Language: CSS
- Size: 141 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#AngularJs Multiselect Typeahead directive
A simple and easily customizable angularjs directive to a multiselect typeahead input box. No jQuery or AngularUi required!
[Demo](http://codepen.io/kirederik/pen/PqpEYP)
## Getting started
Download the necessary files as you wish:
* with Bower: `bower install angular-multiselect-typeahead`
* Cloning this repository## Dependencies
* AngularJS
## Usage
1. Include the css and the javascript in your app:
```html
```
2. Register the "typeahead" module in your aplication module
```javascript
app.module('myApp', ['typeahead']) ...
```3. Add the element in your html:
```html
```Where:
* `ng-model` is the selected items
* `items` is the typeahead list
* `displaytag` is the property that will appear in the tag
* `displayitem` is the property that will appear in the typeahead list