What\'s the correct way to communicate between controllers?
I\'m currently using a horrible fudge involving window:
window
function StockSubgro
Using $rootScope.$broadcast and $scope.$on for a PubSub communication.
Also, see this post: AngularJS – Communicating Between Controllers