Directive controller

basic directive feature