Hi Sudhir, If you want to persist information between sessions, you need to store it somewhere. On your server would be the best solution, but if that is not feasible. put it in indexDB or localStorage. That is a separate question from your screen to screen, by which I guess you mean between views. To do that you should be using a service <https://angular.io/guide/component-interaction#parent-and-children-communicate-via-a-service>. Inject the service in both of your components, and they have access to its contents. Normally services are singletons, which makes it really easy to share their contents.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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.
