Post deleted: AngularJS: Circular dependency problem