The magic of AngularJS $resource (or simply a client-side Active Record) | Hacker News Reader