Copy

Move me, and make copy on drop.
If you try to drop me somewhere other than these containers, I'll just come back.
You can drop me in the left container, otherwise I'll stay here.
        
// JS
  controller('Copy', ['$element', 'dragularService', function TodoCtrl($element, dragularService) {
    dragularService($element.children(), {
      copy: true
    });
  }])
        
        
<!-- HTML -->
<div class='wrapper' ng-controller="Copy" ng-hide="globals.showModelExamples">
    <div id='left2' class='containerVertical'>
      <div>Move me, and make copy on drop.</div>
      <div>If you try to drop me somewhere other than these containers, I'll just come back.</div>
    </div>
    <div id='right2' class='containerVertical'>
      <div>You can drop me in the left container, otherwise I'll stay here.</div>
    </div>
  </div>