compile jade for directives