refactor autocomplete directive.
directive now support design of result elements

implement global search for movies and tv shows