angular-simple-autocomplete-directive

1.1.1 • Public • Published

angular-simple-autocomplete-directive Build Status

NPM package for a simple AngularJS autocomplete directive.

Usage

To install the package, run: npm install angular-simple-autocomplete-directive or bower install angular-simple-autocomplete-directive

Include the script and the css into your project:

<script src="node_modules/angular-simple-autocomplete-directive/dist/main.js"></script> (after having the angular.js included)
<link rel="stylesheet" href="node_modules/angular-simple-autocomplete-directive/dist/main.css">

Insert the autocomplete directive into your template:

As an element

<autocomplete options="['apple', 'samsung', 'nokia']" model="test" />

or as an attribute

<input autocomplete options="['apple', 'samsung', 'nokia']" model="test" />

License

MIT

Package Sidebar

Install

npm i angular-simple-autocomplete-directive

Weekly Downloads

3

Version

1.1.1

License

MIT

Last publish

Collaborators

  • alexneamtu