Notizen
The difference between a service and a factory
Inhalt der Notizen (1)
Seite 1
See: http://ng.malsup.com/#!/factory-vs-service
Really 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.
Informationen
- Beschreibung
- A-Level Angular Notiz am The difference between a service and a factory, erstellt von James Drummond am 06/05/2015.
- Erstellt von
- James Drummond · Mai 2015
- Aktualisiert
- 19 Feb 2016
- Aufrufe
- 17
- Tags
- Bewertung