Ok so my controller should get the data from the Service modify it and pass it back to the service and not storing any important variable in its scope ?
Le mardi 24 février 2015 11:43:46 UTC+1, Sander Elias a écrit : > > Aimery, > > As I said, you need a service/factory > <https://docs.angularjs.org/guide/services> to store/retrieve the result > of every controller. You can then inject that wherever you need that data. > > Regards > Sander > -- 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/d/optout.
