redirect search parameters through index action in angular app