Skip to Content
Aug 19, 2015 at 01:30 AM

How to access a value in model.js file from different views


Hi experts,

i have a doubt that i have maintained a model.js file and having two views and two controllers.Now i have an object i.e., it contains set of arrays in model.js.Now i want to access this array in 2nd view's controller.js file.Can any one clarify my doubt?