In association with heise online

15 June 2012, 12:48

Angular.js hits its 1.0 degree

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

AngularJS logo Making HTML documents more dynamic for web applications can be hard as HTML is mostly about static web pages, but now Google have set about remedying that by announcing version 1.0 of the AngularJS web templating library. AngularJS offers developers a way of extending HTML with their own HTML elements based on reusable components written in JavaScript.

One of the examples shows how to create <tabs> and <pane> elements for presenting information in a page. Other AngularJS features include unobtrusive data binding, effortless deep linking within applications, form validation, simpler server communication, and localisation support. It attempts to avoid "abstracting away HTML, CSS and/or JavaScript" and offers the developer standard HTML as their templating language. The library also offers the ability to test applications with mocking and dependency injections, and it comes with an "end-to-end" scenario runner which is able to comprehend application state while testing.

Angular uses a number of directives which are embedded as HTML attributes, such as ng-repeat, ng-show, ng-hide and ng-switch. When Angular is loaded, it processes these directives as it rewrites the page to create appropriate behaviour. If Angular.js is not loaded, the directives are ignored. Originally created as a front end for a JSON storage service in 2009, AngularJS has been in steady development with version 0.9.0 arriving in 2010, 0.10 in 2011 and now, 1.0, code-named "temporal-domination".

AngularJS is available from the project's GitHub repository and can be downloaded as ready-composed JavaScript libraries from the project's own site. The MIT licence covers the AngularJS code while its documentation is available under the CC BY 3.0 licence.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit