Getting data into the application

The src/app/services/places.service.ts class contains the functionality to load the following JSON files for the app:

  • The src/assets/countries.json file
  • The src/assets/locations.json file

These will be used to populate Ionic Storage with the European countries and Apple Store locations that our app will use as data sources.

Amendments to places.service.ts

Within the src/app/services/places.service.ts class, we make the following amendments (highlighted):

Get hands-on with 1400+ tech skills courses.