Notizen
Angularjs Service
Inhalt der Notizen (2)
Seite 1
1) What is Angularjs Services ?
Ans :
* A special unit of code which can be used across different controllers
* service can be utility or bussiness logic units
*service is a singleton
* instantiated only once
* same instance is maintained throughout the life time of application
* Unlike services , controllers are created as they needed destroiyed when they are not in use
* service are always static however controllers are dynamically
* services are loaded lazily
* controller can instantiate a service if service are not instantiated.
Seite 2
Informationen
- Beschreibung
- Learn services
- Erstellt von
- Omprakash Amarwal · Sep 2017
- Aktualisiert
- 12 Sep 2017
- Aufrufe
- 5
- Bewertung