bevacqua / angularjs-dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/angularjs-dragula
MIT License
509 stars 110 forks source link

How to do this: dragula-model='{{vm.myvar}}' ?? #83

Open tssa88 opened 8 years ago

tssa88 commented 8 years ago

How to set dragula-model dynamically from controller? I have the need to create draggable divs dinamycally. How can I achieve this? Thanks.

iftekharulislam commented 8 years ago

Use the expression except the curly braces. dragula-model="vm.myvar" @thiagosoeiro