https://docs.angularjs.org/guide/services
"Angular services are substitutable objects that are wired together using dependency injection (DI) <https://docs.angularjs.org/guide/di>. You can use services to organize and share code across your app." I think, that is what you want. Am Dienstag, 2. Februar 2016 02:37:51 UTC+1 schrieb Stephanie Lewis: > > How do I share data between controllers? What is a simple way of doing > that ? > -- 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.
