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

https://github.com/softmotions/dadata-sugesstions-angular

AngularJS DaData suggestions module
https://github.com/softmotions/dadata-sugesstions-angular

Last synced: 4 days ago
JSON representation

AngularJS DaData suggestions module

Awesome Lists containing this project

README

          

dadataSuggestions
==============
AngularJS [DaData](https://dadata.ru/suggestions/) suggestions module

Features:

* Load fields values from ngModel
* Save fields values to ngModel after edit
* Support granular suggestions
* Enables suggestions after the first edit

Require:

* [suggestions-jquery](http://www.jsdelivr.com/projects/jquery.suggestions) 16.5.4+
* angular ~1.5.0
* jquery 2.2.x

## How to run
JS:
```javascript
angular.module('app', ['dadataSuggestions'])
.run(['dadataConfig', function(dadataConfig) {
dadataConfig.token = '';
}]);
```
HTML:
```html

Город

Улица

Дом

Адрес

```