JQuery does not grab the ng-repeat elements
Hi I am trying to make drag and drop and the problem is that JQuery does not grab the ng-repeat
elements. If I add the item statically it works, but if the item came out of the loop it no longer works.
index.js
<div ng-repeat="list in lists">
<div class="column">
<div class="portlet">
<div class="portlet-header">Feeds</div>
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
</div>
</div>
</div>
<div class="column">
<div class="portlet">
<div class="portlet-header">Feeds</div>
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
</div>
</div>
<script src="/javascripts/draganddrop.js"></script>
</body>
</html>
drag and drop script:
https://gist.github.com/anonymous/a571165b46a1a86a6ec34adabe1f928f