There are five ways to create a service as given below: 1. Service 2. Factory 3. Provider 4. Value 5. Constant