Apuntes
Angularjs Service
Contenido del apunte (2)
Página 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.
Página 2
Información
- Descripción
- Learn services
- Creado por
- Omprakash Amarwal · sep 2017
- Actualizado
- 12 sep 2017
- Visitas
- 5
- Valoración