ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 216 forks source link

API Prefix interceptor not used when routes are lazy loaded #405

Closed croeber closed 6 years ago

croeber commented 6 years ago

I'm submitting a...

Current behavior

API Prefix interceptor not used when routes are lazy loaded

Expected behavior

API Prefix interceptor used when routes are lazy loaded

Minimal reproduction of the problem with instructions

Implement api call from a lazy loaded module

Environment

- generator version: X.Y.Z
- node version: X.Y.Z  <!-- run `node --version` -->
- npm version: X.Y.Z  <!-- run `npm --version` -->
- OS:  <!-- Mac, Linux, Windows -->

Others: