The difference between a service and a factory

Descrição

A-Level Angular Notas sobre The difference between a service and a factory, criado por James Drummond em 06-05-2015.
James Drummond
Notas por James Drummond, atualizado more than 1 year ago
James Drummond
Criado por James Drummond quase 9 anos atrás
0
0

Resumo de Recurso

Página 1

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.

Semelhante

The Princeton Review Chapter 9 Rotational Motion
Anibal Santamaria
Angular
Kingsley Bawuah
Online course: Administration Essentials for the Service Cloud
Saulo Oliveira
Customer Service
megan.coles2
Cleaning Please
Kyle Holden
Angular Nuts and Bolts
James Drummond
Scope and Inheritance in Angular
James Drummond
Business Studies - AQA - GCSE - Impacts of ICT on Customer Service
Josh Anderson
Angular application scaffolding
James Drummond
/service/rest/login/reset/:account
Nikolaos Grammatikos
Production Systems
Chris Jimenez