What is Service in AngularJS?
Answer / chaitanya
A service is a reusable singleton object which is used to organize and share code across your app. A service can be injected into controllers, filters, directives.
AngularJS offers several built-in services (like $http, $provide, $resource, $window, $parse) which always start with $ sign.
Is This Answer Correct ? | 1 Yes | 0 No |
What is the main purpose of find index in angularjs, and what does it return if no value is found?
What is shared module?
What is deep linking in angular 2?
How does the dom work?
Why is mvc used?
What is data binding in angular 7?
How to use styleurls and styles in angular?
How to define multiple restrict options on a directive in angularjs?
What is angularjs prefixes $ and $$?
What do you understand by controllers in angular?
What is the difference between onnginit() and constructor() of a component?
Explain the component directory structure of angular 4?