change homepinCtrl to searchresultCtrl