For all who see the same error message:
I uses bower to install angular-cookies. First I used
bower install angular-cookie
I injected ngCookie to my module, but go the error message "Failed to instantiate module ngCookies"
Use angular-cookies
instead of angular-cookie
. Note the 's'.
angular-cookie
(with no 's') is a package, but not the correct one. ng-cookie
depends on angular-cookies
(in its plural form).
bower install angular-cookies
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