A simple search directive and a Freebase factory. Live code at http://plnkr.co/edit/QnB5VI3ehKUbfPHok9RL?p=info