Directive controller sample