Angular JS 1.x Internals Q & A
Angular JS 1.x Internals Q & A
Angular JS 1.x Internals Q & A
When you inject a service into a controller, _ looksup and instantiates the
service for the controller. injector
What is injector?
It is a service locator, used to retrieve object instance
Using factory method, we first define a factory and then assign a method to
it. Is it true or false? True
Factory, service
What are services in AngularJS? Services are singleton objects which are
instantiated only once in app and are used to do the defined task
You have a data that can be changed frequently in the application. Which
one of the provider types would you choose to assign values? constant
Which of provider type can be injected during config phase constant &
provider
Which component can be injected as a dependency in AngularJS? All
$apply is at controller level and $digest looks for changes at module level.
False
Final: