The difference between a service and a factory

Beschreibung

A-Level Angular Notiz am The difference between a service and a factory, erstellt von James Drummond am 06/05/2015.
James Drummond
Notiz von James Drummond, aktualisiert more than 1 year ago
James Drummond
Erstellt von James Drummond vor mehr als 9 Jahre
2
0

Zusammenfassung der Ressource

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

Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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