Thanks a lot.

I continued my research to better understand services/factory/providers 
thanks to you remark and found a very helpful post here:

http://www.thinkingmedia.ca/2015/01/how-to-create-a-factory-in-angularjs-that-takes-parameters/

Just sharing it in case someone faces the same misunderstanding I did.

-- 
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.

Reply via email to