nameSearch directive looking for template in the wrong place.