angular-loading-overlay
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
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?