News for hackers. Stuff that matters.
Re:Angular 2 Final Released by namelezz on Thursday September 15, 2016 @01:49AM (#12503747)
Do you know of any large projects that use Angular 2? I just want see how readable the projects are.
Re:Angular 2 Final Released by quaffapint on Thursday September 15, 2016 @08:46AM (#12505613)
Not sure if this helps, but trying to learn Angular2 I wrote a weather app with it using RC5. It is not the cleanest and I never used Angular 1 so I can't do a comparison.

https://github.com/mattsmithdev/weathercard.angular2

Re:Angular 2 Final Released by lloyd-christmas on Thursday September 15, 2016 @11:26AM (#12506953)
you can refactor those nested observables using mergeMap:

  this._settingsService.settings$.mergeMap(settings => {
  
          this.settings = settings;
          return this._weatherService.getLatestWeather(this._location, settings);
      })
      .subscribe(
          weather => this.weather = weather,
          error => this.errorMessage = <any>error
      );
Re:Angular 2 Final Released by quaffapint on Thursday September 15, 2016 @02:07PM (#12508379)
Thanks. Learning observables was definitely a little challenging, so I appreciate the insight.
Re:Angular 2 Final Released by namelezz on Thursday September 15, 2016 @05:40PM (#12510055)
Thanks you for sharing such a beautiful weather app.
Re:Angular 2 Final Released by cybernet on Thursday September 15, 2016 @02:52AM (#12503960)
Google AdWords - hope thats big enough.
Re:Angular 2 Final Released by skybrian on Thursday September 15, 2016 @03:38AM (#12504110)
A caveat: they are using the Dart fork (now maintained by the Dart team) which is not what this announcement is about. Not sure what the biggest Typescript app is.
Re:Angular 2 Final Released by softawre on Thursday September 15, 2016 @09:55AM (#12506115)
As far as raw TypeScript apps, VS Code and TypeScript itself are pretty good examples.

https://github.com/Microsoft/vscode https://github.com/Microsoft/typescript

Re:Angular 2 Final Released by davedx on Thursday September 15, 2016 @11:47AM (#12507117)
I asked around at ng-conf earlier this year, and nobody outside of the speakers were using Angular 2. I did some proper digging again a month or two ago and still couldn't find any examples of large NG2 projects in the wild.

Not very promising...

React on the other hand, I stumbled upon looking at the source of the Wall Street Journal the other day. It is everywhere now.

Re:Angular 2 Final Released by slmyers on Thursday September 15, 2016 @03:53PM (#12509282)
There is an example of an ng2 app using ngrx platform that is reasonably large -- ngrx is a redux using rxjs (more-or-less).

https://github.com/ngrx/example-app

Re:Angular 2 Final Released by crwhite21 on Friday September 16, 2016 @09:31PM (#12518635)
The Weather Channel. Lucidchart. Both in production, IIRC.

Granted, not open source, but definitely drives home the point that it is trusted in production environments.

Re:Angular 2 Final Released by rplst8 on Thursday September 15, 2016 @08:35AM (#12505545)
I'd like some good examples too that aren't barebones tutorials.