Sharing state in AngularJS: $watch issues and race condition prevention | Hacker News Reader