Changed dgeni templates to render an example code on directives.