I have a common angular service and multiple controllers. My service is notified of a change which happens in server end. Now i want service to notify the controller of this change so that i can update some controller properties.
I have used $rootscope.$broadcast
in service and $scope.$on
in controller for achieving this. Is this a good practice to achieve it in this way.