Hmmm, it might be that I'm mistaken. Have not published yet a single dashboard node either...
In this discussion you can see that the scope stuff is inside the html raw string, where you have also your config data available. And then you can put your IF into your scope function...