Likes not showing

My 'likes" div doesn’t seem to be showing in the view. Can anyone help?

Here’s my code…

    <h1>{{ title }}</h1>
    <h2>{{ promo }}</h2>

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

Please give us the FULL code of the MainController.js file…
and preferrable re-edit yout Original Post so you can put in the FULL html code…

remove the + sign
from this:

+ {{ product.likes }}

to this:

{{ product.likes }}

1 Like