By mswatcher
via bennadel.com
Submitted: Feb 13 2013 / 12:07
AngularJS is a very different beast when compared to jQuery (or vanilla JavaScript). In AngularJS, "context" is truly a first-class citizen. By that, I mean that AngularJS executes every piece of code in a specific container that is limited in scope. Unlike binding normal onclick event handlers, which have the entire document as a context, an ngClick event handler has a small, localized scope as its context.
Tweet
SaveShareSend
Tags: css-html, frameworks, javascript
Add your comment