typeHead common directive for devices & racks ctrl