Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nescalante/bonanza-ng

Angular autocomplete directive using bonanza
https://github.com/nescalante/bonanza-ng

Last synced: 20 days ago
JSON representation

Angular autocomplete directive using bonanza

Awesome Lists containing this project

README

        

# Bonanza ng

> Angular autocomplete directive using [Bonanza](http://www.github.com/nescalante/bonanza)

# Install

Use it as an npm package:

```shell
npm install bonanza-ng --save
```

Or just download it from bower

```shell
bower install bonanza-ng --save
```

# Usage

Use it over an input

```html

```

You will have to define in the controller a function for the request:

```js
$scope.getUsers = function (query) {
return usersResource
.get(query)
.$promise;
};
```

Ensure that the function returns a Promise.

# License

MIT