Fundamentals of Angular - Organizing an Angular Application

Exercise: Creating a Service

In this exercise...

you will practice creating services.


Using the CLI...

  1. Create a service named rentalFeeCalculator
  2. Put it in the rental subdirectory
  3. Don't create a test file
  4. Create a calculate() method that returns 2.99