What\'s the correct way to communicate between controllers?
I\'m currently using a horrible fudge involving window:
window
function StockSubgro
You should use the Service , because $rootscope is access from whole Application , and it increases the load, or youc use the rootparams if your data is not more.
$rootscope