I am trying to implement a disqus counter after this official tutorial in my angular app. But I don’t see any number, all that is displayed is the “First article”, which is the text in the span element that needs to be replaced with counters if I get it right.
1) I added count.js to my index.html right before the body closing tag (and used the name of my site, not an example like here):
<script id="dsq-count-scr" src="//mysite.disqus.com/count.js" async></script>
2) Since I use Angular UI Router I think I should not use counts for links, but rather an identifier :
<span class="disqus-comment-count" data-disqus-identifier="test">First article</span>
3) The identifier is also specified in config:
this.page.identifier = 'test';
Since my language settings specified in the configuration settings apply, I believe that the configuration is initiated.
Does anyone know what I'm doing wrong here?
source share