improving the extending-angular-ui-typeahead-directive entry.