HIDE PLAYLIST

Services, Factories, and Providers: Creating a Service


Creating your own services in AngularJS can be confusing. What are the differences between an AngularJS module's Service, Provider and Factory functions? This lesson shows how Angular's service function is just a constructor function.