Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mising [] in angular module definition #4

Open
mariuskubilius opened this issue Jun 5, 2014 · 1 comment
Open

Mising [] in angular module definition #4

mariuskubilius opened this issue Jun 5, 2014 · 1 comment

Comments

@mariuskubilius
Copy link

angular.module('backstretch')
should be angular.module('backstretch', [])

@kaminskypavel
Copy link

true that.
in fact you'll get an error if you don't use @mariuskubilius comment.

Uncaught Error: [$injector:nomod] Module 'backstretch' 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. http://errors.angularjs.org/1.3.15/$injector/nomod?p0=backstretchREGEX_STRING_REGEXP @ angular.js:63(anonymous function) @ angular.js:1774ensure @ angular.js:1698module @ angular.js:1772(anonymous function) @ angular-backstretch.js:1 angular.js:63 Uncaught Error: [$injector:modulerr] Failed to instantiate module wodSignup due to: Error: [$injector:modulerr] Failed to instantiate module backstretch due to: Error: [$injector:nomod] Module 'backstretch' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants