Added angular functionality for search