Skip to content

An Angular 2 Webpack Starter kit featuring Angular 2 (Router, Http, Forms, Services, Tests, E2E), Karma, Protractor, Jasmine, TypeScript, and Webpack by @Angular-Class

License

Notifications You must be signed in to change notification settings

kardan26/angular2-websocket-test

 
 

Repository files navigation

Some comments using Angular2:

  • The sample starter leaves a bad taste:
    • No live reload
    • No clear start instructions
  • The webpack sample
    • Has styles inlined in directive
    • Lots of crud
  • The idea of bootstrap and bindings feels horrible
  • Lifecycle.. what is that?
  • [(ng-model)] - What?
  • The binding of #var seems nice, but if it was also on controller’s this.var <— great.
    • If it was two way, amazing (this.var = 3)
  • Everything is “import” - so why do we need Dependency Injection?
  • No idea how data binding works.. it does..
  • Why * before ng-for?
  • Two way binding for input is horrible (why do we need to worry about keyup and other events?):
    • <input #ref [value]="message" (keyup)="message = ref.value” />

About

An Angular 2 Webpack Starter kit featuring Angular 2 (Router, Http, Forms, Services, Tests, E2E), Karma, Protractor, Jasmine, TypeScript, and Webpack by @Angular-Class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.0%
  • CSS 23.1%
  • TypeScript 2.4%
  • HTML 0.5%