Angular, Programming, Optimization, Modhyobitto Application.
will generate the interceptor file in the same level as the app.module.ts file. Adding an interceptor Next, we will add the interceptor to the providers array in app.module.ts for it to take effect — Keeping placeholder JSONs for API In case we do not have any dummy backend API ready to connect to,