Renamed searchItem var and removed scope directive from helper functions