Directive wrapped in define call