My html:
<span id="questiondisplay">{{question_display}}</span
>
Javascript code:
var math = MathJax.Hub.getAllJax("questiondisplay")
On doing this math is an empty array []
However, on doing $('#questiondisplay')
I get: [<span id="questiondisplay" class="ng-binding"></span>]
Can anyone please explain what I'm doing wrong with MathJax ?