Dependency Injection in Angular 1 and Angular 2 | Hacker News Reader