More Angularish way of doing the title search.