Post update: AngularJS: Circular dependency problem