Notes
The difference between a service and a factory
Content of the notes (1)
Page 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.
Information
- Description
- A-Level Angular Note on The difference between a service and a factory, created by James Drummond on 06/05/2015.
- Created by
- James Drummond · May 2015
- Updated
- Feb 19, 2016
- Views
- 17
- Tags
- Rating