angular-ui/bootstrap — pull request #1950 by cherbst (2014-03-18 13:50:51+00:00)
Title: typeahead: $compile match template after adding to DOM

This allows the template to contain custom directives which use controllers that exists somewhere up in the DOM tree.