Liglo App
Liglo App

Reputation: 3819

Difference between Angular Dart and Polymer Dart

Angular gives you the possibility of dynamic two-way-data-binding. But it allows you also to create custom elements and directives.

So, if I use Angular in Dart, there is no need for Polymer any more, is it right?

Upvotes: 11

Views: 5008

Answers (2)

user7610
user7610

Reputation: 28919

There is a recent demo that shows how to combine Polymer's elements with Angular for routing and other app logic.

It looks fun, but I am not sure whether as of today the generated js code size is reasonable enough.

https://github.com/sethladd/dart-angular-polymer-data-binding

Slides for an accompanying talk: https://docs.google.com/file/d/0B3tMhVSd9MFIV0xfRm5NZ0VpNzg/edit
Blog with a summary: http://blog.sethladd.com/2014/02/angular-and-polymer-data-binding.html

Slide 66: Comparison of Angular and Polymer features

Upvotes: 4

Günter Zöchbauer
Günter Zöchbauer

Reputation: 658057

In addition to the discussion referenced by @Paul Collingwood which contains a good explanation. This similar question has an extensive explanation: What is the difference between Polymer elements and AngularJS directives?

Upvotes: 4

Related Questions