Building a Typeahead Directive with AngularJS | AngularJS | Scoop.it

I am building a little project that lets the user keep a list of artists and albums and I needed a typeahead / autocomplete that would match on such things.

My first thought was to wrap the Twitter Bootstrap typeahead in Angular. The problem is I wanted full control over the html in the typeahead. For instance I wanted little sidebars that said ‘artists’ and ‘albums’. I had no idea how to do this with the Bootstrap typeahead. Another problem is from a purely aesthetic point of view I don’t like wrapping things in Angular if the problem itself is easily solved using Angular.


Via Jan Hesse