In this exercise...

you will practice using an environment file

Directions:

In the same project as the previous exercise:

  • Create username and password keys in the environment.ts file
  • Inject the ThirdParty service into the app.component
  • In the app.component's ngOnInit method, call the third party's login method, and pass in the username & password specified in the environment file.