1

Can I develop an app in Angular.dart + Polymer.dart and translate it to JS code? because as far I know, browsers cannot understand dart language yet.

I know there is a dart2js tool, but I don't know if it supports angular framework.

Thanks in advance.

1 Answer 1

1

You can translate Angular.dart and Polymer.dart apps to JavaScript to run them in modern browsers (Chrome, FireFox, Safari, Opera, mobile)
but as far as I know there are still some issues when using Angular.dart and with Polymer.dart together (when binding attributes/event handlers from one to the other).

Sign up to request clarification or add additional context in comments.

10 Comments

It is better to use angular.js and polymer.js?
I don't understand this comment. This question/answer is about Angular.dart and Polymer.dart. These are compiled to plain JS not to Angular.js or Polymer.js. What do you want to do or to build? What problem do you have?
I want to start write frontend webapplication and angular.js provide more tools than angular.dart. The community of angular.js is much bigger then angular.dart. But otherwise I want to use the advantages of dart, for example debugging is awesome. My question is, what should it choose angular dart or js version?
Ok, this question is more clear :-) I like Angular.dart a lot (I have no experience with Angular.js) but currently the future of Angular.dart is IMHO unclear. I wouldn't suggest using Angular.dart until the future development is more clear. I can suggest Polymer.dart without hesitation though.
When will we get to know about the future of angular.dart and dart.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.