I have installed angularjs and materialjs using bower.
bower install angular-material
And injected 'ngMaterial' into my app but getting this error.
Uncaught Error: [$injector:modulerr] Failed to instantiate module demoApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngMaterial due to:
Error: [$injector:modulerr] Failed to instantiate module material.core due to:
Error: [$injector:unpr] Unknown provider: $mdUtilProvider
Any Help.
I had the same problem until I changed my angular version from 1.2.28 to 1.3.0 in my bower.json file.
See if your angular version is less than 1.3.0, or if you have a dependency which forces angular to a version less than that number.
Hope it helps.
Ps.: I'm using angular-material version 0.7.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With