mgcrea/angular-strap — pull request #659 by nnpp (2014-04-09 16:28:55+00:00)
Title: fix(typehead): reset matches to hide popover

This would close issues #632 and #652 .

The difference between this PR and PR #658 is that this will not blur the element at all. Uses a strategy similar to ui-bootstrap's typeaheads - clears all matches on select, which has the side effect of hiding the whole typeahead until matches is repopulated.