JC: added autocomplete and search var to model and controller. spec passes.