BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

AngularJS 2.0 Will Target Mobile Apps, Drop Support For Older Browsers

by Roopesh Shenoy on Mar 20, 2014 |

"AngularJS 2.0 is a framework for mobile apps" says the AngularJS team. The framework will continue to be supported for desktops, but the primary focus will be on getting the mobile bit right. The goals also include support for EcmaScript 6 along with a transpiler (since browsers don't support ES6 yet). 

The changes planned are outlined in an article "AngularJS 2.0" along with links to design documents to elicit feedback from developers.

A brief description about the proposed changes are as follows -

  • Support for ES6 along with Traceur transpiler. The developer will have the choice to continue writing in ES5. 
  • Faster Change Detection
  • Instrumention via Angular-wide logging service, diary.js
  • Better modularity
  • Simpler Dependency Injection - declarative instead of imperative, module loading through ES6 Modules, lazily load parts of JS through child injectors. Most of this design is already implemented.
  • Templating and Directive improvements - Simpler Directive API, integration with other component frameworks using web standards, improved performance and enabling IDEs to analyze and validate templates
  • Better Touch animations using native features of browsers supported by fallback; targeting at least 60+ FPS performance)
  • Improved Routing - Stage based routing, Integration with authentication and authorization, optionally preserving state of some views
  • Better Persistence - support for "always offline" mode with sync to server, especially useful for mobile
  • Support only modern browsers that auto-update - Chrome, FireFox, Opera, Safari and IE11. On mobile, Chrome on Android, iOS 6+, Windows Phone 8+ and Firefox Mobile. There "may" be support for older versions of Android.

Most changes are in design and prototyping stage and the final release might look different from what is proposed right now. You can provide feedback through any of Angular's channels.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

AngularJS by Shamal Jayakody

AngularJS is the future of Mibile Application Development.

typo by 姚 琪琳

The "Stage based routing" should be "State based routing"

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT