angular-ui / ui-sortable

jQuery UI Sortable for AngularJS
http://angular-ui.github.io/ui-sortable/
MIT License
1.26k stars 444 forks source link

ui.sortable: jQuery should be included before AngularJS! #485

Closed Chienle closed 8 years ago

Chienle commented 8 years ago

Hi guys, Today is a beautiful day, I got a issue when using ui-sortable "ui.sortable: jQuery should be included before AngularJS!",

Jquery version : v1.6.4

in my controller var app = angular.module('app', ['ui.sortable',...]);

In my view

`

{{answer}}

`

So, can you please help me ?

thgreasi commented 8 years ago

Hi there. It's a rainy day here in Greece. All you have to do is to place the script tag that includes jQuery to your page before the script tag of AngularJS. That's started in README and degenerated in the examples. There is also an example demonstrating how to achieve when using requirejs, defining a manual dependency. Lastly, some others issues asking about this already exist, giving it a search might give you even more info.

thgreasi commented 8 years ago

Closing this for now. Feel free to reopen in any case.