Even better ES5 code for Angular 2

added by bpwndaddy
7/6/2015 2:53:51 PM

432 Views

A couple of weeks ago we wrote about how to write Angular 2 code in ES5 and took a closer look at what annotations and decorators translate to. While it is nice that we can all write Angular 2 applications without the hassle of setting up a development environment for TypeScript, Babel or SystemJS, it turns out that the syntax is still quite wordy. Of course, this isn’t really a big problem, because it is just the syntax after all. That’s why the Angular team works hard on making even the ES5 experience much better. All improvements that land in the ES5 world shrink the gap between Angular 1 and Angular 2 syntax, in fact, upgrading will be rather boring. In this article we’re going to take a closer look at the ES5 syntax improvements and how they make upgrading even easier.


0 comments