I am having controllerA.js which consist of json
//array starts here Var a =[]; //this is my array a=[{"name":"test"}]; //json
I want to access above array on my another controller i.e controllerB.js