I am developing an angular project and I have items as components to be displayed.But there is an issue ,while displaying the content. This is the component code.
<a href="" class="list-group-item clearfix" >
<div class="container-fluid">
<div class="pull-left">
<h4 class="list-group-item-heading">
{{rec.name}}
</h4>
<p class="list=group-item-text" >{{rec.description}}</p>
</div>
<div class="center">
<img src="{{rec.ImagePath}}">
</div>
</div>
</a>
Whereas this is the app.component(the main file)code
<app-header (featureselected)="onNavigate($event)"></app-header>
<div class="container"><div class="row">
<div class="col-md-12">
<app-recipes *ngIf="LoadedFeature ==='recipe' ;else shop"></app-recipes>
<ng-template #shop >
<app-shopping-list></app-shopping-list>
</ng-template>
</div>
</div>
</div>
I am expecting the image of the item to be displayed below my content paragraph i.e description. Can someone help?