Angular Directive that supports both markdown and mathjax mixed code