Directive to select from list of objects with search input box