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

Failed to instantiate module ng-sortable #35

Open
sunil233 opened this issue Feb 18, 2017 · 2 comments
Open

Failed to instantiate module ng-sortable #35

sunil233 opened this issue Feb 18, 2017 · 2 comments

Comments

@sunil233
Copy link

sunil233 commented Feb 18, 2017

Iam getting the below error even though i added the sortable.min.js and ng-sortable.js under the folder Sortable Folder

Failed to instantiate module ng-sortable due to:

Error: [$injector:nomod] Module 'ng-sortable' 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.

Error: [$injector:nomod] Module 'ng-sortable'

image

@Jorgevillada
Copy link
Contributor

Try to change the order of dependencies. Ng-sortable depends on sortable. You can also the source code of http://wasiluk.io/angular-surveys/ and try.

@mwasiluk
Copy link
Owner

mwasiluk commented Feb 21, 2017

Take a look at bootstrap demo, lines 182-183:
https://github.com/mwasiluk/angular-surveys/blob/master/demo/demo.html#L183

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

3 participants