top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Service in AngularJS?

0 votes
300 views
What is Service in AngularJS?
posted Nov 3, 2017 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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.

answer Nov 3, 2017 by Shivaranjini
...