AngularJS 1.4 offers refactored animation, which makes it possible to imperatively control CSS-based transitions/keyrames via a service called $animateCss. "We can now also animate elements across pages via animation anchoring," the blog states.
To improve performance, version 1.4 implements a rewrite of the Angular expression parser and improvements to scope watching, the compiler, and the ngOptions attribute. For internationalization, version 1.4 improves i18n support for Angular apps. The first piece of this work features an ngMessageFormat module supporting the ICU MessageFormat interpolation syntax.
The $http service in AngularJS, for communication with remote HTTP servers, now implements a mechanism for providing custom URL parameter serialization, to make it easy to connect end points that expect parameters to follow JQuery-style parameter serialization. Users also will be able to specify which version of JQuery, if any, they want to use. "This option also allows developers to instruct Angular to always use jqLite even if jQuery is present on the page, which can significantly improve performance for applications that are doing a lot of DOM manipulation via Angular's templating engine," says the documentation.
More than 100 bugs have been fixed in version 1.4, and two features — the component helper and the component-oriented hierarchical router — have been pulled. "The main reason for this decision," according to Angular, "was that both of these deliverables were not ready for the important task of simplifying the migration path from Angular 1 to Angular 2. Rather than delay the 1.4 release further, we decided to move these two deliverables into the 1.5 release."
Sign up for CIO Asia eNewsletters.