To add some custom logic before application starts
Why we need it
It’s common that before an application starts, it needs to know in advance quite a few configurations, such as what’s the baseURL
of http call, what's the port number
etc. These configurations can also differ between defferent environtments (dev or prod). In angular we do this by putting these configuration constants…