angular-loading-overlay icon indicating copy to clipboard operation
angular-loading-overlay copied to clipboard

Error: [$injector:modulerr] Failed to instantiate module {} due to: Error: [ng:areq] Argument 'module' is not a function, got Object

Open wingoku opened this issue 8 years ago • 0 comments

I'm getting the mentioned error when I try to use your library with AngularFullStack angularjs 1.5.

Import in app.js is like the following:

import AngularLoadingOverlay from 'angular-loading-overlay';

And then it's being injected in the app like this:

angular.module('tesseractSpsApp', [ngCookies, ngResource, ngSanitize, 'btford.socket-io', uiRouter, uiBootstrap, AngularToastr, AngularLoadingOverlay ])

What am I doing wrong? How can I fix it?

wingoku avatar Aug 08 '17 10:08 wingoku