Handling User States in AngularJS | Hacker News Reader