add directive generator
Merge pull request #2 from csharon/component-generator

add directive generator