gbv / ng-suggest

AngularJS module to provide Typeahead via OpenSearch Suggestions
http://gbv.github.io/ng-suggest/
9 stars 4 forks source link

Facilitate usage of opensearch-suggest directive #1

Closed nichtich closed 10 years ago

nichtich commented 10 years ago

This should be enough:

 <input
    ng-model="value"
    suggest-typeahead="https://en.wikipedia.org/w/api.php?action=opensearch&limit=10&namespace=0&format=json&search="
    jsonp />

A corresponding typeahead directive should be added automatically.