Tutorial hero
Lesson icon

When to Use Services/Providers/Injectables in Ionic & Angular

Originally published September 03, 2018 Time 1 mins

Services, which we might also refer to as providers or injectables, are a commonly used pattern in Ionic/Angular development. Services allow us to:

  • Make methods/data available to multiple pages/components throughout our application
  • Perform complex logic or interface with external APIs/Services
  • Share a single instance of the service throughout the application, allowing for communication between pages/components

In this video, we discuss the role of services and when you should use them (as opposed to just writing logic directly into your page/component files).

Watch the video on YouTube: Click here

Learn to build modern Angular apps with my course