Easy
Why is the following snippet not validated?
<h1>Products Lists</h1>
<ul>
<li *ngFor="let p of products" *ngIf="p.stock > 0"> {{ p.name }} </li>
</ul>
Author: Emmanuel DemeyStatus: PublishedQuestion passed 2904 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!
8
Write a pipe to format a date according to a certain pattern.7
How to make a child component communicate with its parent component in Angular?29
Create a form with two mandatory fields in Angular6
Unsubscribe from an Observable in Angular15
Which provider is recommended for DOM manipulation in Angular?14
Which of these methods, allowing to create Providers, does not exist in Angular?5
In an Angular directive, which decorator should we use to listen for an event of the element that this same directive is placed on?