title: AngularJS: Is ng-click "a good practice"? Why is there no ng-{event} in AngularJS?
body: <p>I just started to learn AngularJS and struggle with some concepts of AngularJS. It would be great if somebody could explain me some points...</p>
  
  <ol>
  <li><p>I understand that <code>ng-click</code> is technically not the same as <code>onclick</code> (see <a href="https://stackoverflow.com/questions/11902379/why-do-we-need-ng-click">here</a>), but both are placed in the markup. I thought that would be a "bad practice"? Why is this one of the core concepts of AngularJS, if most people say this is "bad"? I thought it would be better to select the DOM element from JavaScript and not to place logic in the markup.</p></li>
  <li><p>If <code>ng-click</code> is the right way to react to click events in AngularJS what should I do with other DOM events? I see that there are several other directives like <code>ng-mouseover</code>, but not all DOM events have a AngularJS equivalent. How would I handle a 'drop' event in AngularJS (hence in the AngularJS way - not the normal way)? To be clear: I want to <a href="http://www.html5rocks.com/de/tutorials/dnd/basics/" rel="nofollow noreferrer">drag a file into my webapp</a>.</p></li>
  </ol>
  
  <p>Thank you very much,
  Pipo</p>