Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-app="dragApp">
  <div ng-controller="DragCtrl">
    {{teamMembers}}
      <drag-object ng-repeat="member in allMembers" member="member" id="{{member.name}}">
      {{member.name}}
      <img ng-src="{{member.pic}}" alt="" width="50px">
      </drag-object>
    
    <!-- 
       <button draggable="true">Drag me</button>
    <drag-object member="teamMembers[0]" >
      {{teamMembers[0].name}}
      <img ng-src="{{teamMembers[0].pic}}" alt="" width="50px" draggable="true">
      </drag-object>     -->
    <div drag-target class="big-box"></div>
  </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
mmahalwypro
0viewers