BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

AngularJS Is Being Ported to Dart

| by Abel Avram on Jun 13, 2013. Estimated reading time: 1 minute |

AngularJS is being ported to Dart, offering a parallel implementation of Google’s JavaScript framework.

Brad Green, Engineer Director at Google and Manager of AngularJS, has announced the porting of their JavaScript framework to Dart during a meeting outlining some of new features coming in AngularJS 1.2 (video, min. 40). The idea is to provide the same templates but different implementations. Angular.dart is not a wrapper calling JavaScript but is actually written in Dart.

While still work in progress, Angular.dart has a number of key components already ported, such as the compiler, scope, and expressions, and a number of directives are done: bind, repeat, shadow DOM. Also, testing has been ported. DI and Routes are next.

Green said they are not going to replace JavaScript with Dart, but rather provide a parallel AngularJS implementation for Dart.

AngularJS is growing in popularity and the porting to Dart announcement has been well received if we consider the comments both on the initial announcement and on Seth Ladd’s subsequent post. Ladd is a Google engineer working on Dart, and has welcomed Angular.dart:

It's still early, but how exciting! We've always encouraged a rich ecosystem, and there are a lot of fans of Angular.

But this porting raises some questions. What will happen with the common functionality now provided both by Dart and Angular.dart, such as Web UI and Routes? Ladd said that Angular.dart won’t replace existing Dart functionality, but rather complement it:

[Angular.dart] doesn't replace Web UI. Web UI is a bet on modern and emerging web specs such as Web Components  …

We're working on a routes package: https://github.com/dart-lang/route  We don't have it wired into Web UI fully, but it'll still work with Web UI.

It remains to be seen what role Angular.dart will play in Dart’s future. Will Angular.dart be eventually included into the Dart project? Perhaps it depends on Angular.dart’s popularity among Dart users. And the majority of those users are inside Google.

Rate this Article

Adoption Stage
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.

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
Community comments

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

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT