Dropdown Directive with AngularJS and Bootstrap   Apr 16, 2015

I was working on something today to build a dropdown for a form element in AngularJS where the selected item is bound to a scope variable. However, I also needed to be able to manually type in the entry if I desired. So I created this AngularJS directive to do the job. It's styled using Bootstrap.

It proved quite challenging to do this as I'm fairly new to AngularJS but I found some examples scattered across the internet and through reading lots of docs and some trial and error I've got something that works quite well.

Tags for this post: