I don’t want draggable sortable elements or anything fancy, just a draggable element, like a normal jQuery div draggable object:
$("#draggable").draggable();
What is the proper way to do this through Angular? Do I still use jQueryUI, or is there anything in AngularUI I can use? I looked through both Angular libraries but didn’t find anything specifically addressing draggable objects.
Use a directive.
Example:
HTML
Documentation on directives: http://docs.angularjs.org/guide/directive
You could also create data-binding for the element’s current position during the drag, hook up events, etc. But this is a really basic version.