July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now that we have a service that connects to an API endpoint and receives a JSON file, let's make some small changes to our views, known as templates in the Angular world. The templates are the HTML files inside of the module folder:
<div class="row"> <div class="col" href="" *ngFor="let item of beersList"> <figure> <img [src]="item.image_url" [alt]="item.name" /> <figcaption> <h1>{{item.name}}</h1> <p>{{item.tagline}}</p> </figcaption> </figure> </div></div>
Note that we are using the curly brace template ...
Read now
Unlock full access