I havent used es6 with 1.3, but i have been watching the comments related to migrations lately. My advice would be to use 1.3 as it is intended, and as the current best practices suggest (search around for opinions on this). And when angular 2 comes, use it with es6.
I dont think that es6 will allow you to avoid the current 1.3 module system, as if you do that, you wont be using the dependency injection? no? (please link if you can show how 1.3 injector can work with es6, without modules). So, You are in the position of using BOTH module systems (kinda like how people use browserify) which can be beneficial, but also adds a level of complexity. Overall, Id think that staying closer to current best practices would be beneficial On 21 December 2014 at 20:32, David Michael Gang <[email protected]> wrote: > Hi all, > > I am working on a medium sized angular 1.3 project which should be > production ready in the next months. > After hearing the videos of the ng-europe conference i want to check the > direction of using angular 1.3 with es6 javascript which is compiled with > traceur. > The main advantage is that i don't need to use the angular module which > will be deprecated and that my code will stay modern also in a couple of > years. > I have to support ie>=10 so there is no browser support related issue here. > > I saw in the web that it is possible to use them together, but i wanted to > ask if anyone has experience in production code. > > > - After a couple of weeks/months in production, what were the main > bugs/ pitfalls, related to the es6 itself and the integration with angular? > - How easy was it to spot errors through the error messages of the > browser together with the source maps included as the output of the traceur > compiler? > > > Thanks, > David > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Tony Polinelli -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
