Singleton services in angular

  1. ProviderIn: ‘root’; makes Angular service singleton, and what I understood from word singleton is having one common instance for whole application.

  2. If I instantiate that service in constructor of two components(creating an object from a class) that means I am crating 2 diff object, it contradict the first statement.

Can someone please explain me what singleton means in this scenario?