I've never quite understood the word 'singleton'..... ; My understanding is that using a "service" over a "factory" provides the benefit of loading data only once per page-refresh and shares it across the application, whereas the factory instantiates a fresh call to the data source every-time there is a $state change , new controller/scope instance, etc?
-- 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.
