toddmotto / ama

Ask me anything!
20 stars 3 forks source link

Angular 1.x ES5 and ES6 #15

Closed zzebastien closed 8 years ago

zzebastien commented 8 years ago

Hi, I work on a single app built with angular 1.4 in ES5, and I would like our team to be able to start writing ES6. In the mid/long term term, the idea is to migrate to angular 1.5 and then angular 2 once it's released. Upgrading all the current ES5 code to ES6 is not something we can do right now, there's a lot of JS code and we prefer focusing on developing new features. So the idea would be to start writing ES6 and transpile them to ES5, and keep the ES5 code as it is right now.

So there's some questions from there:

Thanks for your help !