Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AngularJS ngSanitize says "lowercase is not a function"

My problem: I have to use the ngSanitize module, but when I run the project, I have the following error:

Failed to instantiate module ngSanitize due to: lowercase is not a function.

I've had organized all my .js files, and organize all file versions, but the problem persists. I don't know what to do anymore.

like image 718
João Rocha Avatar asked Oct 15 '25 09:10

João Rocha


1 Answers

I'd found the error, for a unknown reason my sbt was importing the angular in 1.7.0 version, in this angular version the angular.lowercase was removed. Glad you guys are helpful and friendly! Thanks a lot for the help!

like image 56
João Rocha Avatar answered Oct 18 '25 08:10

João Rocha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!