Enable search function with the SearchCtrl