mwasiluk / angular-surveys

Angular survey / form builder inspired by Google Forms
http://mwasiluk.github.io/angular-surveys
Apache License 2.0
241 stars 135 forks source link

Failed to instantiate module ng-sortable #35

Open sunil233 opened 7 years ago

sunil233 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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