Apuntes
The difference between a service and a factory
Contenido del apunte (1)
Página 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.
Información
- Descripción
- A-Level Angular Apunte sobre The difference between a service and a factory, creado por James Drummond el 06/05/2015.
- Creado por
- James Drummond · may 2015
- Actualizado
- 19 feb 2016
- Visitas
- 17
- Etiquetas
- Valoración