removed angular function in search