1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

JavaScript: Difference between Service, Provider and Factory in AngularJs

  1. Clicks today:
    1
  2. Clicks this month:
    7
  3. Overall rating:
    4.00/5

JavaScript » Basics — almost 2 years ago
In this blog we will discuss about the differences b/w services ,provider and factory in angular jS- a)Service- This will return the actual function with an instance of the function. b)Factory- This will return the actual value returned by the function. c)Provider-This will return the value returned by the $get function of the function. For more visit the link mentioned.

Comments

avatarDanGerber about 1 month ago

Very good!

Your Comment

You must be logged in to post a comment.