Using factories for JSON data

The JSON data is retrieved using Angular services.