angular - angular2/Typescript looping over strings, first 1 not formatting as equation (mathJax) -


i pretty new angular2 , typescript , mathjax.

i have application when calculate button clicked, retrieves results rest services endpoint. loop through results populate tables. 1 of properties equation string. i'm trying use mathjax show equation string equation.

the first equation in loop not getting formatted, after formatting fine. missing? here's plunk simplified illustration of what's happening. http://plnkr.co/edit/epnc0r3rqvjhat0lxmcg?p=preview

(why need add code here when i'm adding plunk unclear...but ok)

mathjax.hub.queue(["typeset", mathjax.hub, "mathjax"]); 

is code i've found digging around adding library. think might missing here or in index.html script configuration of mathjax.

thanks!


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -