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.