It seems typeahead is not working when you click on a match with the mouse. I am using angular 1.3.5 and the latest ui-bootstrap build. I modified the code in the typeahead directive dismissClickHandler to check if the activeIdx is not the default and then call select to make my code work again. I wonder if I am missing something or there is a bug
here is the 'fix'
// Keep reference to click handler to unbind it.
var dismissClickHandler = function (evt) {
if (element[0] !== evt.target) {
//is this a bug fix????
if(scope.activeIdx != -1) scope.select(scope.activeIdx);
resetMatches();
scope.$digest();
}
};