can now search, but  there are angular issues I'm trying to work out