The difference between a service and a factory

Description

A-Level Angular Note on The difference between a service and a factory, created by James Drummond on 06/05/2015.
James Drummond
Note by James Drummond, updated more than 1 year ago
James Drummond
Created by James Drummond over 9 years ago
1
0

Resource summary

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

Show full summary Hide full summary

Similar

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