angular-surveys icon indicating copy to clipboard operation
angular-surveys copied to clipboard

Failed to instantiate module ng-sortable

Open sunil233 opened this issue 8 years ago • 2 comments

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

sunil233 avatar Feb 18 '17 16:02 sunil233

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.

Jorgevillada avatar Feb 21 '17 00:02 Jorgevillada

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

mwasiluk avatar Feb 21 '17 15:02 mwasiluk