Circular dependence | AngularJS Demo