Is binding objects to angular’s $rootScope in a service bad?
Although from a high level, I agree with the answer by bmleite ($rootScope exists to be used, and using $watch appears to work for your use case), I want to propose an alternative approach. Use $rootScope.$broadcast to push changes to a $rootScope.$on listener, which would then recalculate your c value. This could either be done … Read more