Whats wrong?


#1

Excercise: 9. ng-click I -> 2.
In the view under <p class="date">, type in a rating element:

my code:

<div ng-repeat="product in products" class="col-md-6">
          <div class="thumbnail">
            <img ng-src="{{ product.cover }}">
            <p class="title">{{ product.name | uppercase}}</p>
            <p class="price">{{product.price|currency}}</p>
            <p class="date">{{product.pubdate | date}}</p>
            <div class="rating">
              <p class="likes">{{ product.likes | + }}</p>
            </div>
          </div>
        </div>

Error Code:
Did you display the product's likes?


#2

Hi try to put the + after before the {{ }} like that

<p class="likes">+{{ product.likes }}</p>

#3

thanks man this was it!