I think declare it as a constant on your parent controller On Tuesday, December 29, 2015 at 11:46:51 AM UTC+2, Ankush Joshi wrote: > > Hello, > > Here i need to store static data in one variable, which should not change > across the pages, such variable should only reset on close of browser, > similar like session ? is this possible? > > variable have any integer value, suppose 10, that should remain same > across all menus in angular js > > Thanks in advance > > Regards, > > Ankush >
-- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
