this not fully fleshed-out code just
>>> providing the idea
>>> var indexOfObject = MyService.indexOf($routeParams.id);
>>> $scope.object = MyService[indexOfObject];
>>>
>>> So in essence you are passing references not objects, and storing shared
&
I have a list of objects in the list view, now I want to click any one
object to take me a new page without fetching data from server,
so the object data can be passed to the new page. I can use angularjs
$routeParams to pass individual parameter, but not whole object. if I use a
individual p