Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nescalante/bonanza-ng
- Owner: nescalante
- License: mit
- Created: 2015-11-12T16:49:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T22:16:27.000Z (about 5 years ago)
- Last Synced: 2024-11-08T08:46:28.625Z (about 1 month ago)
- Language: JavaScript
- Size: 80.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
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