Skip to content

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

@wingoku

Description

@wingoku

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions