Still stuck on Pizza Planet...with Buzz Lightyear... :)


#1

I've even cut/pasted the already cheated code. No go. Could a moderator answer?

my html:



PizzaPlanet


<div class="main" ng-controller="MainController">
  <div class="container">
    <h1>Specials for {{ today | date }}</h1>
    
    <h2>Appetizers</h2>
<div class="appetizers row" ng-repeat="appetizer in appetizers">
  <div class="item col-md-9">
    <h3 class="name">{{ appetizer.name }}</h3>
    <p class="description">{{ appetizer.description }}</p>
  </div>
  <div class="price col-md-3">
    <p class="price">{{ appetizer.price | currency }}</p>
      </div>
    </div>

  </div>
</div>

my appJS:
var myAppModule = angular.module('PizzaPlanetApp', [])

Controller:
app.controller('MainController', ['$scope', function($scope) {
$scope.today = new Date();

$scope.appetizers = [
{
name: 'Caprese',
description: 'Mozzarella, tomatoes, basil, balsmaic glaze.',
price: 4.95
},
{
name: 'Mozzarella Sticks',
description: 'Served with marinara sauce.',
price: 3.95
},
{
name: 'Bruschetta',
description: 'Grilled bread garlic, tomatoes, olive oil.',
price: 4.95
}
];
}]);

BTW I'm sort of new to Codecamy. Still evaluating. I'm not too sure I'm learning much....


#2

I think in your AppJs you have your var labeled myAppModule and in your controller its just labeled app.

var myAppModule is = to the "app" part of app.controller.

Hope this helps.