moved angular directive so search doenst close grid