Refactoring of my earlier SearchHubbers app using angularjs.