Provider is used by AngularJS internally to create services, factory etc. during config phase (phase during which AngularJS bootstraps itself).