i tried to inject angular-cookies.js in my HTML file but seems it has some type error or to make it accurate an "error" in the js file. The error showing in my log is "TypeError: angular.module(...).info is not a function" and the js is from there website("https://angularjs.org/"). is anyone have solution for this? thank you
Asked
Active
Viewed 353 times
-1
-
1unfortunately, you need to present the *entire* error message, along with the possible lines of code where the error might occur in order to receive adequate troubleshooting advice. there is indeed no `.info` function on the `angular.module` object, so the error is accurate, but it's not obvious at all what you are trying to do that created this error. – Claies Mar 17 '17 at 04:21
1 Answers
1
i had the same issue and i solved it by deleting the line from the angular-cookies.js file that gives you the error, display the js file in the browser console to identify the line and just delete it. I hope it helps.

Jesús Hernández
- 71
- 4
-
you're welcome i hope this helps more than one person because it took me like 3 or 4 weeks to use ngCookies. – Jesús Hernández Mar 24 '17 at 14:18
-
agreed on you on that, don't know why people down voted my post which is this is really an existing bug in angularjs ngCookies.. – Arnold wanna be Mar 25 '17 at 02:29