GoConqr has a new look! Let us know what you think.

Notes

Angularjs Service

Omprakash Amarwal English 2 pages

Content of the notes (2)

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

Page 2

Information

Description
Learn services
Views
5
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?