added angular directives and markdown support