This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
I'm not really sure if this is an issue, as I don't use ng-bind-html
that much, but...
Just discovered this issue in our app running ng 1.1.5, but it seems to occur in the latest version of ngSanitize. When scoped var is set to a Number, it bombs out when ngSanitize tries to call indexOf
on the Number, which is undefined
.
ex. <div ng-bind-html="some_number"></div> <!-- throws error -->
jsbin example case