|AngularJS Superluminal Nudge Released|
|Written by Kay Ewbank|
|Wednesday, 22 October 2014|
Google has released AngularJS 1.3, codenamed "superluminal-nudge" on account of its substantial performance improvements.
“what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVW, MVVM, MVC, dependency ...” (MVW is Model View Whatever).
The new release has four hundred bug fixes and several new features. It has also been reworked to reduce memory consumption and increase the speed of common DOM operations.
Among the new features added in this release is support for one-time bindings. If you’re using the new version, and you prefix an expression with "::", it will only be interpolated once, and then no longer watched.
Another addition is a new module called ngAria, which helps make custom components in Angular more accessible by default. Using ngAria, you can add ARIA attributes that convey state or semantic information about the application. This information can then be used by assistive technologies to convey appropriate information to persons with disabilities. There’s also a new directive called ngMessages that simplifies writing and coordinating feedback. It can be used to show or hide messages based on the state of a key/value object that it listens on.
Another new directive, ngModelOptions, can be used to customize the behavior of bound models to use techniques such as debouncing, getter-setter-style models, and update-on-blur.
The new version has also added an option, Strict DI, that can be used to identify those places in your application that will not minify due to the use of short-hand DI syntax.
The developers have also improved the APIs that control custom form controls and animations to make them clearer and easier to use.
The new release, which is available on GitHub has substantial performance improvements that reduce memory consumption, increase the speed of common DOM operations, and improve overall latency of Angular apps. Benchmarks are available on GitHub and the complete list of changes is also available there.
The developers say that by popular demand, AngularJS now officially has packages published to npm, which should make it easier for developers to use npm tools for front-end web development.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Tuesday, 04 November 2014 )|