#Can I create a provider that overrides an existing provider, but is passed the old one?

2 messages · Page 1 of 1 (latest)

tribal turtle
#

I am thinking of it like hooking an interrupt - so the provider uses some token X, but has a dependency of X, so it can override things but also make calls to the old one.

modest torrent
#

Nope, you can't do that in Angular DI