Jump to content

AngularJS

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by PaulHammant (talk | contribs) at 21:49, 3 March 2012 (Initial verbiage). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Angular
Developer(s)Google Inc. and community.
Initial release2009 (2009)
Stable release
0.10.6 / January 17, 2012; 13 years ago (2012-01-17)
Repository
Written inJavaScript
Operating systemCross-platform
LicenseMIT License
Websitewww.angularjs.org

Angular is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model-View-Controller capability, reduce the amount of JavaScript needed to make web applications functional.

Originally created in 2009 by Misko Hevery and Adam Abrons as the front end for a online JSON storage service that would have been priced by the mega-byte system for easy-to-make applcations for the enterprise. This venture was positioned as "GetAngular.com" and had some signed-up users. The Way Back Machine has snapshots from Q3 2009, but these days the website redirects to 'angular.org', given Angular's intention to fit anyone's JSON serving and recieving backend.

The technology, re-writes a page that a browser has loaded. At one level, it re-reads the source of the page, and obeys turing-complete directives. At another level it binds input or output parts of the page to a models represented in a vanilla JavaScript variable. Those JavaScript variables can be manually composed, or retrieved over the wire from JSON resources (static or dynamic). The page language is essentially a superset of HTML. Extra attributes exist to support Angular directives. With Angular's library loaded these are acted upon. Without Angular loaded, they are typically ignored by current and modern browsers.

Notable Angular Directives

ng:repeat

This, for an element, will cause multiple instances of that element to be inserted into the DOM.

ng:show

This has a true/false test expression within, that will cause an element on page to appear. If false the element will dissapear.