In Angular 2 templates, if I add an <img> with a relative path like this:
I get the following error:
Module not found: Error: Cannot resolve 'file' or 'directory' ./image.png
I am forced to use absolute paths but in that case the app will only work when deployed in the root.