feat(search): move func for lists to search results directive