OK, I understand your intention. This means that the author of a template then must add a special attribute to the img tag. Hmm, first I thought about a global setting using a provider, but yes this also makes sense.

But then, why do you not invent your own Angular directive, say ``forced-2x-src`` which is completely independent  from this module. All you then would need to do is to pilfer the function ``getHighResolutionURL``. This would be far easier and shorter, wouldn't it?

Jacob