I\'m having a problem with sourcing an image with angular 4. It keeps telling me that the image is not found.
Folder structure:
app_folder/ app_compo
in your component assign a variable like,
export class AppComponent { netImage:any = "../assets/network.jpg"; title = 'app'; }
use this netImage in your src to get the image, as given below,
A caption for the above image.