title: angularjs - mousedown & moving over elements while mouse down event?
body: <p>To explain what I am trying to do I have created an example where you can play with:</p>
  
  <p><a href="http://plnkr.co/edit/usrmiNkj5YJY5SlV8ETw?p=preview" rel="nofollow">http://plnkr.co/edit/usrmiNkj5YJY5SlV8ETw?p=preview</a></p>
  
  <p>I want to draw multiple tiles green while my mouse is down.
  This:</p>
  
  <pre><code>&lt;div ng-mousedown="drawImage($parent.$index,$index)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>works only when the mouse is going down on the element not outside.</p>
  
  <p>Is there an way to check if the mouse is already down and draw the tiles green?</p>
  
  <p>Please use the code I made to create an working example. </p>