changes in service controller,view and js for search