created angular app with two controllers, one main controller where one can enter a name of a wikidata item and select a type (person, organization or location) and search for it.
the other controller handles the search including lookup of the entities and selecting the items, that match the search criteria.
the exchange between these two controllers is done via an ExchangeData factory, which gives you the ability to interchange contents from one controller to the other.