Why does pubdate not work?


This is what it says as the syntax error: SyntaxError: Expected token '}', at /home/ccuser/workspace/angularjs-your-first-app/js/controllers/MainController.js:7 I dont know what it means and when I do put the code in everwhere I had put {{}}
it displayed the word in it.

app.controller('MainController', ['$scope', function($scope) {
$scope.title = 'Cheese is great!';
$scope.promo = 'Cheese is best!';
$scope.product = {
name: 'The Book of Trees',
price: 19
pubdate: newDate('2014', '03', '08')


You missed a comma after the line:
price: 19