BT

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

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

This item in japanese

This item in chinese

Bookmarks

"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.

Rate this Article

Adoption
Style

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.

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

Community comments

  • AngularJS

    by Shamal Jayakody /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    AngularJS is the future of Mibile Application Development.

  • typo

    by 姚 琪琳 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

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

  • AngularJS in 3 lines

    by Shamal Jayakody /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    AngularJS extends HTML with new attributes.
    AngularJS is perfect for Single Page Applications (SPAs).
    AngularJS is easy to learn.

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.