Likes not showing


#1

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">{{ product.name }}</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>
        </div>
      </div>
    </div>

#2

@jakeporritt,
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.....


#3

remove the + sign
from this:

+ {{ product.likes }}

to this:

{{ product.likes }}