darthwade / angular-loading

Angular directive that lets you to prevent user interaction with part of the page and display loading/busy indicator (spinner based on spin.js)
http://embed.plnkr.co/XLL3li/preview
MIT License
96 stars 49 forks source link

Module name not recognized #21

Open stamminator opened 8 years ago

stamminator commented 8 years ago

The module name darthwade.dwLoading is not being recognized when I am including it as a dependency.

var module = angular.module("PageModule", ["darthwade.dwLoading", "jqwidgets"]);

I've already confirmed that the angular-loading.js, spin.js, and angular-loading.css files are loaded on the client side. I also know the issue isn't with the jqwidgets module, as it's always worked fine.

Using AngularJS 1.4.6. Here's the error message:

Failed to instantiate module darthwade.dwLoading due to: Error: [$injector:nomod] Module 'darthwade.dwLoading' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

I saw other open topics related to this issue, but I've seen no solutions on what the proper name to enter in is.

fbertone commented 8 years ago

it's darthwade.loading