Add searchListings function to rootScope in app run method so available on all pages.