an angular-based search functionality