Error on setup
yevgetman opened this issue · 1 comments
yevgetman commented
I have included angular-dragdrop.min.js, set ngDropDrop as a dependency in my app, and placed the following markup in my template: <span data-drag="true" jqyoui-draggable>So you think you can drag</span>
When I run the app I get the following error:
TypeError: element.draggable is not a function
at updateDraggable (http://localhost:8080/public/js/lib/angular-dragdrop.js:331:21)
at Object.link (http://localhost:8080/public/js/lib/angular-dragdrop.js:341:9)
at http://localhost:8080/public/js/lib/angular/angular.min.js:16:71
at ta (http://localhost:8080/public/js/lib/angular/angular.min.js:84:35)
at n (http://localhost:8080/public/js/lib/angular/angular.min.js:69:227)
at g (http://localhost:8080/public/js/lib/angular/angular.min.js:60:496)
at http://localhost:8080/public/js/lib/angular/angular.min.js:60:119
at Object.<anonymous> (http://localhost:8080/public/js/lib/angular/angular-ui-router.min.js:7:24507)
at http://localhost:8080/public/js/lib/angular/angular.min.js:16:71
at ta (http://localhost:8080/public/js/lib/angular/angular.min.js:84:35) <span data-drag="true" jqyoui-draggable="" class="ng-scope">
codef0rmer commented
@yevgetman Make sure you load jquery and jqueryUI before that.