Created by James Drummond
over 9 years ago
|
||
See: http://ng.malsup.com/#!/factory-vs-serviceReally the only difference between a service and a factory is that the service is instantiated and thus has the context 'this'. The factory method just returns an object with methods / member variables.
Want to create your own Notes for free with GoConqr? Learn more.