Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Why is this one of the core concepts of AngularJS, if most people say this is "bad"?</p> </blockquote> <p>Well, people who really like <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript" rel="nofollow noreferrer">Unobtrusive JavaScript</a> might say it is bad. Angularians (and those with a flex background) see value in the more declarative approach.</p> <blockquote> <p>"Angular is built around the belief that declarative code is better than imperative when it comes to building UIs and wiring software components together... By declaratively describing how the UI should change as your application state changes, you are freed from low level DOM manipulation tasks. -- <a href="http://docs.angularjs.org/guide/overview" rel="nofollow noreferrer">Overview doc</a></p> </blockquote> <p>See also <a href="https://stackoverflow.com/questions/12978507/dont-the-data-attribute-options-used-in-bootstrap-angular-js-and-ember-js-con">Don&#39;t the data attribute options used in Bootstrap, Angular.js, and Ember.js conflict with Unobtrusive Javascript principles?</a></p> <blockquote> <p>what should I do with other DOM events?</p> </blockquote> <p>Write your own directives to listen for them (or find one that someone else has already written). Angular gives you the power to extend what the browser can do -- by writing your own directives.</p> <p><strong>Update</strong>: in the comments below, Tim Stewart mentions AngularUI's <a href="http://angular-ui.github.com/#directives-event" rel="nofollow noreferrer">ui-event</a>, which lets you bind a callback to any event not natively supported by Angular.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload