simplify angular search to fix upon heroku deployment