angular-simple-logger icon indicating copy to clipboard operation
angular-simple-logger copied to clipboard

"angular.module is not a function" error when installing with JSPM

Open manuelfc1 opened this issue 9 years ago • 1 comments

I get the following error when installing with JSPM:

Uncaught TypeError: angular.module is not a function

manuelfc1 avatar Feb 07 '16 12:02 manuelfc1

I've just fixed this same problem by using the light versions of the angular-simple-logger. For example, instead of using the index.js file, that has the lines you spoke of, use the index.light.js one (https://github.com/nmccready/angular-simple-logger/blob/master/dist/index.light.js) which omits those lines.

tomsaleeba avatar Nov 03 '16 08:11 tomsaleeba