Elegant token-based API access with AngularJS | Hacker News Reader