angular-dragdrop
angular-dragdrop copied to clipboard
drag works but drop doesn't work
the drag is working well but the drop is not working, Here is a snippet of my code:
<div data-drag="true" jqyoui-draggable data-jqyoui-options="{helper: 'clone'}" id="{{device.id}}" class="device-list-item" ng-repeat="device in vm.deviceNames">
...
</div>
<div id="container" data-drop="true" data-jqyoui-options="{accept:'.device-list-item'}" jqyoui-droppable class="drop_container">
</div>
You need to specify ng-model in the <div id="container "> element.