I have a problem with including images, script or css in app with angular2.
I have image in folder /app-name/img/image.jpg and <img> tag is in
/app-name/src/app/my-component/my-component.component.html:
<img src="../../../img/image.jpg">
When i load page, i get error: GET http://localhost:4200/img/image.jpg 404 (Not Found)
How to create url address in angular2? The same problem is when i added script url in index.html.
Thanks for advices.