You can set it into $rootScope or a global controller scope in your app Regards
Guillaume Le jeudi 27 février 2014 17:18:12 UTC+1, duck a écrit : > > 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 parameters to fetch data from server, it slows down the > performance. > > Thank you for your help! > Lily > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
