DEV Community

Discussion on: That's why your Angular Interceptor may NOT WORK! 😥 [5 seconds fix]

Collapse
 
joekaiser profile image
Joe • Edited

No, I think he was confused. Look at the docs for skipSelf. I read them as: if you have a dependency defined in the main module and submodule, it allows you to tell angular which one to use.

However, if a dependency is only in the app module, you don't need to sorry about it.

angular.io/api/core/SkipSelf