Issue with firefox
There is some issue with this directive on Firefox browser, I have tested the directive in Firfox version 31.0 and its not working, and it doesn't even showing any error messages in console.
I think its the issue with "e.innerText" wchich doesn't support in Firfox. Either that should be replaced with innerHTML (supports in all browsers) or with textContent (which won't work in IE8).
indeed, simply replacing innerText with innerHTML solved the issue for me
I have the same problem... Solution of Freundschaft doesn't work for me... Firefox 38.0.5
I fixed it by replacing innerText with textContent
innerText is no longer supported by firefox as of 2015-03-13. Firefox uses the W3C-compliant textContent property. http://stackoverflow.com/questions/1359469/innertext-works-in-ie-but-not-in-firefox
So it appears that the unminified file in the src/count-to.js is using .textContent() but the minified file in build/angular-count-to.min.js uses .innerText() which causes the Firefox breakage.
I was able to use the plugin w/o forking by adding this to my bower.json file to just use the src/count-to.js instead of referencing the minified version.
"overrides": { "angular-count-to": { "main": "src/count-to.js" }, }
I end up minifying the code down the line anyhow.