Angular Dependency Injection. And Dolphins

Have you ever found yourself asking: should I use a value? a factory? a service? a provider?! Rules of thumb Ask yourself 3 questions: Do I need to inject it in the config phase? Does it have dependencies? Am I a dolphin? Then reduce which type of service you need… »