Even 5 months late, I decided to post in this thread, because when it comes to ES5 there are only scattered bits and pieces here and there, but nothing as a whole project. Plus it was one of the first places I landed, when initially started searching for resources.
Here's a working ES5 repo covering the Angular 2 Tutorial Tour of Heroes except everything about Observables and the rest after it from part 7: https://github.com/s2501/ng-2-lab-es5 The repo can be used as a reference for any developer who like me feels he or she should write a lot more ES5 and ES6, before jumping to TypeScript. Regards, Stan On Thursday, April 28, 2016 at 11:34:09 PM UTC+3, Daniel Zen wrote: > > I have been tasked with creating Angular2 course material in JavaScript > not TypeScript, and as a consequence have been waiting for more JavaScript > examples to appear at: > > Tutorial: Angular 2 for JavaScript > <https://angular.io/docs/js/latest/tutorial/toh-pt2.html> > > Which currently says: > This chapter is not yet available in JavaScript. We recommend reading the > TypeScript version. > > So, instead of complaining, I have started writing JS examples and the > appropriate documentation in a fork of the angular.io repo: > > https://github.com/danielzen/angular.io/ > <https://github.com/danielzen/angular.io/> > > And most recently completed: > > Angular 2 JS Example - Tour of Heroes: Part 2 > <http://plnkr.co/edit/SPO6xUeZh9miPeIfQ2n4?p=preview> > > I have electing to use Template Literals & Arrow Functions, which are now > available in most browsers. > > So a few questions: > > - Is anyone else working on this? I don't want to be duplicating > effort. > - Should I be creating the examples with ES5 / ES5+ (in current > browsers) / or ES6 (which might require something like Babel, which I > would > like to currently avoid) > > This was my first pull request, I signed the CLA, but I didn't put it in a > separate branch, which may have been a mistake. Is there anyone that can > help me get up to speed so I can help fill out the JS documentation. I'm > sure I am not the only one waiting. > > Thanks, > Daniel Zen > -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
