Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 936
Liglo App Avatar asked Dec 05 '13 09:12

Liglo App


2 Answers

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

like image 110
user7610 Avatar answered Sep 29 '22 20:09

user7610


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?

like image 24
Günter Zöchbauer Avatar answered Sep 29 '22 21:09

Günter Zöchbauer