directive 및 service 템플릿